Predicts Yhat for a structpls model
1 | structpls_pred(model, newdata, lv = dim(B)[3])
|
model |
the output from structpls() |
newdata |
a (preprocessed) n by px dataset of predictors |
lv |
number of components to use from the model (default = the maximum) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.