Plot.coef.glmnet.Rd
Creates several plots showing the coefficient path for the final model of a cv.glmnet fit and highlights the path of a pre-specified set of variables within the coefficient path.
Plot.coef.glmnet(cvfit, betas)
cvfit | an object of class "cv.glmnet" as returned by the function |
---|---|
betas | a vector of names of variables; must be a subset of rownames(coef(cvfit)). |
a list of four objects
a vector giving the positions of the estimated stable variables
the penalization parameter used for the stability selection
the position of the penalization parameter in the regularization path
the desired type I error level w.r.t. to the chosen type I error rate
the type I error rate
Manuela Zucknick \ m.zucknick@dkfz-heidelberg.de
Sill M., Hielscher T., Becker N. and Zucknick M. (2014), c060: Extended Inference with Lasso and Elastic-Net Regularized Cox and Generalized Linear Models, Journal of Statistical Software, Volume 62(5), pages 1--22. doi: 10.18637/jss.v062.i05