plot.rcc {mixOmics} | R Documentation |
This function provides scree plot of the canonical correlations.
## S3 method for class 'rcc' plot(x, scree.type = c("pointplot", "barplot"), ...)
x |
object of class inheriting from |
scree.type |
character string, (partially) matching one of |
... |
arguments to be passed to other methods. For the |
none
Sébastien Déjean and Ignacio González.
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, scree.type = "barplot") plot(nutri.res, scree.type = "barplot", density = 20, col = "black") ## End(Not run)