Description Usage Arguments Value Author(s) See Also Examples
View source: R/S3methods-plot.R
This function provides scree plot of the canonical correlations.
1 2 |
x |
object of class inheriting from |
type |
Character, default "barplot" or any other type available in plot, as "l","b","p",.. |
... |
Not used |
none
Sébastien Déjean, Ignacio González, Al J Abadi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | data(nutrimouse)
X <- nutrimouse$lipid
Y <- nutrimouse$gene
nutri.res <- rcc(X, Y, lambda1 = 0.064, lambda2 = 0.008)
## 'pointplot' type scree
plot(nutri.res) #(default)
## Not run:
plot(nutri.res, pch = 19, cex = 1.2,
col = c(rep("red", 3), rep("darkblue", 18)))
## 'barplot' type scree
plot(nutri.res, type = "barplot")
plot(nutri.res, type = "barplot", density = 20, col = "black")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.