View source: R/mod_dimension_reduction_utils.R
rd_prediction | R Documentation |
generates the prediction of a dimension reduction model.
rd_prediction(model, test.data, ncomp = NULL)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.