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 big_pls_cox
component_information(object, max_comp = ncol(object$scores))
# S3 method for big_pls_cox_gd
component_information(object, max_comp = ncol(object$scores))
select_ncomp(object, criterion = c("AIC", "BIC", "loglik"), ...)
A data frame with columns ncomp, loglik, AIC, and BIC.
A list with the table of information criteria and the recommended number of components.
A fitted object of class big_pls_cox or big_pls_cox_gd.
Maximum number of components to consider. Defaults to all components stored in the model.
Criterion to optimise: "AIC", "BIC" or "loglik".
Passed to component_information().