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.


PROMiDAT/regressoR documentation built on July 7, 2023, 1:30 a.m.