powered by
model.matrix
This function returns the model.matrix of an mvdareg object.
mvdareg
# S3 method for mvdareg model.matrix(object, ...)
The design matrix for a PLS model with the specified formula and data.
PLS
an mvdareg object
additional arguments. Currently ignored.
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
"model.matrix.mvdareg" is used to returns the model.matrix of an mvdareg object.
"model.matrix.mvdareg"
data(Penta) mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], ncomp = 2, validation = "loo") model.matrix(mod1)
Run the code above in your browser using DataLab