Commit ce0ec81c authored by Armin Rauschenberger's avatar Armin Rauschenberger
Browse files

automation

parent 92ac219c
Package: cornet Package: cornet
Version: 0.0.1 Version: 0.0.1
Title: Elastic Net for Dichotomised Outcomes Title: Elastic Net with Dichotomised Outcomes
Description: Implements lasso and ridge regression for dichotomised outcomes. (Such outcomes are not naturally but artificially binary.) Description: Implements lasso and ridge regression for dichotomised outcomes. (Such outcomes are not naturally but artificially binary.)
Depends: R (>= 3.0.0) Depends: R (>= 3.5.0)
Imports: glmnet, palasso Imports: glmnet, palasso
Suggests: knitr, testthat Suggests: knitr, testthat
Enhances: RColorBrewer Enhances: RColorBrewer
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
#' @export #' @export
#' @aliases cornet-package #' @aliases cornet-package
#' @title #' @title
#' Logistic regression with a continuous response #' Combined regression
#' #'
#' @description #' @description
#' Implements logistic regression with a continuous response #' Implements logistic regression for dichotomised outcomes
#' in high-dimensional settings. #' in high-dimensional settings.
#' #'
#' @param y #' @param y
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elastic Net for Dichotomised Outcomes • cornet</title> <title>Elastic Net with Dichotomised Outcomes • cornet</title>
<!-- jquery --><script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script><!-- Bootstrap --><link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <!-- jquery --><script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script><!-- Bootstrap --><link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script><!-- Font Awesome icons --><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous"> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script><!-- Font Awesome icons --><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha384-cV+rhyOuRHc9Ub/91rihWcGmMmCXDeksTtCihMupQHSsi8GIIRDG0ThDc3HGQFJ3" crossorigin="anonymous"></script><!-- sticky kit --><script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script><!-- pkgdown --><link href="pkgdown.css" rel="stylesheet"> <!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha384-cV+rhyOuRHc9Ub/91rihWcGmMmCXDeksTtCihMupQHSsi8GIIRDG0ThDc3HGQFJ3" crossorigin="anonymous"></script><!-- sticky kit --><script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script><!-- pkgdown --><link href="pkgdown.css" rel="stylesheet">
<script src="pkgdown.js"></script><meta property="og:title" content="Elastic Net for Dichotomised Outcomes"> <script src="pkgdown.js"></script><meta property="og:title" content="Elastic Net with Dichotomised Outcomes">
<meta property="og:description" content="Implements lasso and ridge regression for dichotomised outcomes. (Such outcomes are not naturally but artificially binary.)"> <meta property="og:description" content="Implements lasso and ridge regression for dichotomised outcomes. (Such outcomes are not naturally but artificially binary.)">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<!-- mathjax --><script src="https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script><!--[if lt IE 9]> <!-- mathjax --><script src="https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script><!--[if lt IE 9]>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Logistic regression with a continuous response — cornet • cornet</title> <title>Combined regression — cornet • cornet</title>
<!-- jquery --> <!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script> <script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
<meta property="og:title" content="Logistic regression with a continuous response — cornet" /> <meta property="og:title" content="Combined regression — cornet" />
<meta property="og:description" content="Implements logistic regression with a continuous response <meta property="og:description" content="Implements logistic regression for dichotomised outcomes
in high-dimensional settings." /> in high-dimensional settings." />
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
...@@ -113,14 +113,14 @@ in high-dimensional settings." /> ...@@ -113,14 +113,14 @@ in high-dimensional settings." />
<div class="row"> <div class="row">
<div class="col-md-9 contents"> <div class="col-md-9 contents">
<div class="page-header"> <div class="page-header">
<h1>Logistic regression with a continuous response</h1> <h1>Combined regression</h1>
<small class="dont-index">Source: <a href='https://github.com/rauschenberger/cornet/blob/master/R/functions.R'><code>R/functions.R</code></a></small> <small class="dont-index">Source: <a href='https://github.com/rauschenberger/cornet/blob/master/R/functions.R'><code>R/functions.R</code></a></small>
<div class="hidden name"><code>cornet.Rd</code></div> <div class="hidden name"><code>cornet.Rd</code></div>
</div> </div>
<div class="ref-description"> <div class="ref-description">
<p>Implements logistic regression with a continuous response <p>Implements logistic regression for dichotomised outcomes
in high-dimensional settings.</p> in high-dimensional settings.</p>
</div> </div>
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
<td> <td>
<p><code><a href="cornet.html">cornet()</a></code> </p> <p><code><a href="cornet.html">cornet()</a></code> </p>
</td> </td>
<td><p>Logistic regression with a continuous response</p></td> <td><p>Combined regression</p></td>
</tr><tr> </tr><tr>
<td> <td>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
\name{cornet} \name{cornet}
\alias{cornet} \alias{cornet}
\alias{cornet-package} \alias{cornet-package}
\title{Logistic regression with a continuous response} \title{Combined regression}
\usage{ \usage{
cornet(y, cutoff, X, alpha = 1, npi = 101, pi = NULL, nsigma = 99, cornet(y, cutoff, X, alpha = 1, npi = 101, pi = NULL, nsigma = 99,
sigma = NULL, nfolds = 10, foldid = NULL, sigma = NULL, nfolds = 10, foldid = NULL,
...@@ -65,7 +65,7 @@ Returns an object of class \code{cornet}, a list with multiple slots: ...@@ -65,7 +65,7 @@ Returns an object of class \code{cornet}, a list with multiple slots:
} }
} }
\description{ \description{
Implements logistic regression with a continuous response Implements logistic regression for dichotomised outcomes
in high-dimensional settings. in high-dimensional settings.
} }
\details{ \details{
......
# data simulation # data simulation
set.seed(1)
list <- cornet:::.simulate(n=100,p=200) list <- cornet:::.simulate(n=100,p=200)
y <- list$y; X <- list$X y <- list$y; X <- list$X
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment