Shows plot with X loading values for selected components.
# S3 method for pls
plotXLoadings(obj, comp = c(1, 2), type = "p",
main = "X loadings", show.axes = T, ...)
a PLS model (object of class pls
)
which components to show the plot for (one or vector with several values)
type of the plot
main plot title
logical, show or not a axes lines crossing origin (0,0)
other plot parameters (see mdaplotg
for details)
See examples in help for pls
function.