| plot.sr | R Documentation |
This function provides the ability to plot an object of class sr
## S3 method for class 'sr' plot(x, variables = "all", ...)
x |
|
variables |
the number of variables to include the graph output. |
... |
additional arguments. Currently ignored. |
plot.sr is used to generates the graph of the selectivity ratio from sr objects.
The output of plot.sr is a graph of the selectivity ratio for the specified observation(s).
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
ncomp = 2, validation = "loo")
sr(mod1)
plot(sr(mod1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.