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 rrr
plot(
x,
y = NULL,
layer = 1L,
xlab = paste("latent predictor ", layer, sep = ""),
ylab = paste("latent response ", layer, sep = ""),
...
)# S3 method for sofar
plot(
x,
y = NULL,
layer = 1L,
xlab = paste("latent predictor ", layer, sep = ""),
ylab = paste("latent response ", layer, sep = ""),
...
)
# S3 method for cv.sofar
plot(
x,
y = NULL,
layer = 1L,
xlab = paste("latent predictor ", layer, sep = ""),
ylab = paste("latent response ", layer, sep = ""),
...
)
# S3 method for srrr
plot(
x,
y = NULL,
layer = 1L,
xlab = paste("latent predictor ", layer, sep = ""),
ylab = paste("latent response ", layer, sep = ""),
...
)
# S3 method for cv.srrr
plot(
x,
y = NULL,
layer = 1L,
xlab = paste("latent predictor ", layer, sep = ""),
ylab = paste("latent response ", layer, sep = ""),
...
)
# S3 method for rssvd
plot(
x,
y = NULL,
layer = 1L,
xlab = paste("latent predictor ", layer, sep = ""),
ylab = paste("latent response ", layer, sep = ""),
...
)
Some object generated by rrpack
.
NULL. Do not need to specify.
The unit-rank layer to plot; cannot be larger than the estimated rank
Label of X axis.
Label of Y axis.
Other argumnts for future usage.
ggplot2 object.