plot | R Documentation |
S3 methods generating scatter plot for some objects generated by
rrpack
using ggplot2
. An ggplot2
object is returned so
that users are allowed to easily further customize the plot.
## S3 method for class 'rrr' plot( x, y = NULL, layer = 1L, xlab = paste("latent predictor ", layer, sep = ""), ylab = paste("latent response ", layer, sep = ""), ... ) ## S3 method for class 'sofar' plot( x, y = NULL, layer = 1L, xlab = paste("latent predictor ", layer, sep = ""), ylab = paste("latent response ", layer, sep = ""), ... ) ## S3 method for class 'cv.sofar' plot( x, y = NULL, layer = 1L, xlab = paste("latent predictor ", layer, sep = ""), ylab = paste("latent response ", layer, sep = ""), ... ) ## S3 method for class 'srrr' plot( x, y = NULL, layer = 1L, xlab = paste("latent predictor ", layer, sep = ""), ylab = paste("latent response ", layer, sep = ""), ... ) ## S3 method for class 'cv.srrr' plot( x, y = NULL, layer = 1L, xlab = paste("latent predictor ", layer, sep = ""), ylab = paste("latent response ", layer, sep = ""), ... ) ## S3 method for class 'rssvd' plot( x, y = NULL, layer = 1L, xlab = paste("latent predictor ", layer, sep = ""), ylab = paste("latent response ", layer, sep = ""), ... )
x |
Some object generated by |
y |
NULL. Do not need to specify. |
layer |
The unit-rank layer to plot; cannot be larger than the estimated rank |
xlab |
Label of X axis. |
ylab |
Label of Y axis. |
... |
Other argumnts for future usage. |
ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.