residuals.sparseDFM | R Documentation |
Obtain the residuals or fitted values of the sparseDFM
fit.
## S3 method for class 'sparseDFM'
fitted(object, standardize = FALSE, alpha_index = "best", ...)
## S3 method for class 'sparseDFM'
residuals(object, standardize = FALSE, alpha_index = "best", ...)
object |
an object of class 'sparseDFM'. |
standardize |
logical. The residuals and fitted values should be standardized. Default is |
alpha_index |
Choose which L1 penalty parameter to display the results for. Default is 'best'. Otherwise, input a number between 1:length(alpha_grid) that indicates the required alpha parameter. |
... |
Further |
Residuals or fitted values of sparseDFM
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.