README.Rmd 1.27 KB
Newer Older
Rauschenberger's avatar
Rauschenberger committed
1
---
Armin Rauschenberger's avatar
Armin Rauschenberger committed
2
pagetitle: cornet
Rauschenberger's avatar
Rauschenberger committed
3
output: github_document
Armin Rauschenberger's avatar
Armin Rauschenberger committed
4 5
editor_options: 
  chunk_output_type: console
Rauschenberger's avatar
Rauschenberger committed
6 7 8 9 10 11 12 13 14 15 16 17
---

<!-- Modify xxx.Rmd, not xxx.md! -->

```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

Armin Rauschenberger's avatar
Armin Rauschenberger committed
18 19
[![Travis-CI Build Status](https://travis-ci.org/rauschenberger/cornet.svg)](https://travis-ci.org/rauschenberger/cornet)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/rauschenberger/cornet?svg=true)](https://ci.appveyor.com/project/rauschenberger/cornet)
Armin Rauschenberger's avatar
Armin Rauschenberger committed
20 21 22 23 24 25 26 27
[![Coverage Status](https://codecov.io/github/rauschenberger/cornet/coverage.svg?branch=master)](https://codecov.io/github/rauschenberger/cornet)

## Scope

Lasso and ridge regression for dichotomised outcomes (extending [glmnet](https://CRAN.R-project.org/package=glmnet)).

## Installation

Armin Rauschenberger's avatar
Armin Rauschenberger committed
28
Install the current release from [CRAN](https://CRAN.R-project.org/package=cornet):
Rauschenberger's avatar
Rauschenberger committed
29 30

```{r,eval=FALSE}
Armin Rauschenberger's avatar
Armin Rauschenberger committed
31
install.packages("cornet")
Armin Rauschenberger's avatar
Armin Rauschenberger committed
32 33 34
```

or the latest development version from [GitHub](https://github.com/rauschenberger/cornet):
Armin Rauschenberger's avatar
Armin Rauschenberger committed
35

Armin Rauschenberger's avatar
Armin Rauschenberger committed
36
```{r,eval=FALSE}
Rauschenberger's avatar
Rauschenberger committed
37
#install.packages("devtools")
Armin Rauschenberger's avatar
Armin Rauschenberger committed
38
devtools::install_github("rauschenberger/cornet")
Rauschenberger's avatar
Rauschenberger committed
39 40
```

Armin Rauschenberger's avatar
Armin Rauschenberger committed
41 42
## Reference

Armin Rauschenberger's avatar
Armin Rauschenberger committed
43
Armin Rauschenberger and Enrico Glaab (2019). "Lasso and ridge regression for dichotomised outcomes". *Manuscript in preparation.*