powered by
Functions to extract 2D graphical weights information from mvdalab objects.
mvdalab
weightsplot2D(object, comps = c(1, 2), verbose = FALSE)
an mvdareg object, i.e. plsFit.
plsFit
a vector or length 2 corresponding to the number of components to include.
output results as a data frame
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
weightsplot2D is used to extract a graphical summary of the weights of a PLS model.
weightsplot2D
If comp is missing (or is NULL), a graphical summary for the 1st and 2nd componentsare returned.
comp
NULL
data(Penta) mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], ncomp = 2, validation = "loo") weightsplot2D(mod1, comp = c(1, 2))
Run the code above in your browser using DataLab