R/plsda.R
plsda_auroc_vip_method.Rd
Method for nmr_data_analysis (PLSDA model with AUROC and VIP outputs)
plsda_auroc_vip_method(ncomp, auc_increment_threshold = 0.05)
Max. number of latent variables to explore in the PLSDA analysis
Choose the number of latent variables when the AUC does not increment more than this threshold.
Returns an object to be used with nmr_data_analysis to perform a (optionally multilevel) PLS-DA model, using the area under the ROC curve as figure of merit to determine the optimum number of latent variables.
method <- plsda_auroc_vip_method(3)