Description Usage Arguments Value Author(s) See Also Examples
View source: R/nonzero.glmnetcr.R
The nonzero.glmnetcr
function returns only those non-zero coefficient estimates for a selected model
1 | nonzero.glmnetcr(fit, s)
|
fit |
a |
s |
the step at which the non-zero coefficient estimates are desired |
a0 |
intercept estimate |
beta |
non-zero estimates for variables and ordinal thresholds |
Kellie J. Archer, archer.43@osu.edu
See Also as glmnetcr
, coef.glmnetcr
, select.glmnetcr
1 2 3 4 5 6 |
Loading required package: glmnet
Loading required package: Matrix
Loading required package: foreach
Loaded glmnet 2.0-16
Warning message:
from glmnet Fortran code (error code -26); Convergence for 26th lambda value not reached after maxit=100 iterations; solutions for larger lambdas returned
$a0
s23
3.192533
$beta
ILMN_1705116 ILMN_1759232 cp1 cp2
6.614969e-03 -2.035163e-02 1.894492e+00 2.153126e-15
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.