| ViP | R Documentation |
Computes VIP trajectories from fitted direct SIMPLS-family components. The standard component-wise decomposition is not used for PLS-SVD, OPLS, or nonlinear kernel PLS because their stored latent weights have different mathematical meanings. Linear-kernel PLS uses the same direct SIMPLS-family path and is supported.
ViP(model)
model |
Fitted |
Numeric matrix (single response) or list of matrices (multi-response).
X <- as.matrix(mtcars[, c("disp", "hp", "wt", "qsec")])
y <- mtcars$mpg
fit <- pls(X, y,
ncomp = 1, method = "simpls", backend = "cpu",
fit = TRUE, return_variance = FALSE
)
ViP(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.