Learn R Programming

enpls (version 6.1)

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

Description

select the best ncomp and alpha with cross-validation, then use them to fit the complete training set. scale = TRUE

Usage

enspls.ad.core.fit(x.tr, y.tr, maxcomp, cvfolds, alpha)

Arguments

Value

the fitted spls object