View source: R/select_components.R
| component_information | R Documentation |
Computes log-likelihood, AIC and BIC values for nested models using the
latent components estimated by big_pls_cox() or big_pls_cox_gd().
component_information(object, max_comp = ncol(object$scores))
## S3 method for class 'big_pls_cox'
component_information(object, max_comp = ncol(object$scores))
## S3 method for class 'big_pls_cox_gd'
component_information(object, max_comp = ncol(object$scores))
select_ncomp(object, criterion = c("AIC", "BIC", "loglik"), ...)
object |
A fitted object of class |
max_comp |
Maximum number of components to consider. Defaults to all components stored in the model. |
criterion |
Criterion to optimise: |
... |
Passed to |
A data frame with columns ncomp, loglik, AIC, and BIC.
A list with the table of information criteria and the recommended number of components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.