Learn R Programming

tsensembler (version 0.0.5)

best_mvr: Get best PLS/PCR model

Description

Get best PLS/PCR model

Usage

best_mvr(obj, form, validation_data)

Arguments

obj

PLS/PCR model object

form

formula

validation_data

validation data used for predicting performances of the model by number of principal components