Learn R Programming

enpls (version 6.1)

enpls.ad.core.fit: core fitting function for enpls.ad

Description

select the best ncomp with cross-validation and use it to fit the complete training set. scale = TRUE

Usage

enpls.ad.core.fit(trainingset, maxcomp, cvfolds)

Arguments

Value

the fitted plsr object