coef.plmm | R Documentation |
Coef method for "plmm" class
## S3 method for class 'plmm'
coef(object, lambda, which = 1:length(object$lambda), drop = TRUE, ...)
object |
An object of class "plmm." |
lambda |
A numeric vector of lambda values. |
which |
Vector of lambda indices for which coefficients to return. |
drop |
Logical. |
... |
Additional arguments. |
Either a numeric matrix (if model was fit on data stored in memory)
or a sparse matrix (if model was fit on data stored filebacked). Rownames are
feature names, columns are values of lambda
.
admix_design <- create_design(X = admix$X, y = admix$y)
fit <- plmm(design = admix_design)
coef(fit)[1:10, 41:45]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.