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/regresoR documentation built on July 8, 2023, 3 p.m.