Description Usage Arguments Details
View source: R/glbin-lcd-c-sparse.R
Like in Breheny and Huang 2009
1 2 3 4 |
X |
covariate/design matrix. Global intercept should not be here. sparseMatrix accepted. |
y |
response 0/1 vector |
offset |
offset terms |
index |
grouping. set 0 or NA for unpenalised terms. |
eps |
convergence criterion |
lambda |
vector of lambdas |
lambda.min |
fraction of max lambda to go down to |
nlambda |
number of penalties |
lambda.log |
create log-equidistant lambda vec. default: TRUE |
dfmax |
max df, stop if reached |
verb |
verbosity |
add_intercept |
should the global intercept be added. default: TRUE |
AIC_stop |
default 0. After aic has increased this many steps, halt. 0: go to the end of lambda. If used, should be more than 1. |
gc_force |
FALSE. force garbage collection before going c-side? Might free memory for large X. |
Like in Breheny and Huang 2009 except with an offset term and sparse matrix support (Matrix-class) for large data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.