| pls_predict | R Documentation |
Predict from a fitted PLS-SEM model
pls_predict(object, ...)
## S4 method for signature 'PlsModel'
pls_predict(
object,
approach = c("earliest", "direct"),
newdata = NULL,
std.ord.exp = FALSE,
benchmark = "R2",
benchmark.vars = c("endog", "exog", "all"),
...
)
object |
A fitted |
... |
Additional arguments passed to internal helpers. |
approach |
Prediction approach. If |
newdata |
Optional new data matrix/data frame. |
std.ord.exp |
Logical; standardize ordinal expectation scores. |
benchmark |
Benchmark type(s). Either length 1 (recycled) or one entry
per indicator (optionally named). Supported: |
benchmark.vars |
What predictions should be benchmarked? If |
A PlsSemPredict object with matrices and benchmark results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.