rd_prediction: rd_prediction

View source: R/mod_dimension_reduction_utils.R

rd_predictionR 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.


regressoR documentation built on July 9, 2023, 5:26 p.m.