rd_prediction {regressoR}R Documentation

rd_prediction

Description

generates the prediction of a dimension reduction model.

Usage

rd_prediction(model, test.data, ncomp = NULL)

Arguments

model

dimension reduction model(pcr/plsr).

test.data

dataframe.

ncomp

a numerical value in case you don't want to use the optimum number of components.


[Package regressoR version 3.0.2 Index]