View source: R/adaptivegpca-package.R
plot.adaptivegpca | R Documentation |
Plots the output from adaptivegpca
, either a scree
plot, the samples, or the variables.
## S3 method for class 'adaptivegpca' plot(x, type = c("scree", "samples", "variables"), axes = c(1, 2), ...)
x |
An object of class |
type |
What type of plot to make. |
axes |
Which axes to plot. |
... |
Not used. |
data(AntibioticSmall) out.agpca = adaptivegpca(AntibioticSmall$X, AntibioticSmall$Q, k = 2) plot(out.agpca) plot(out.agpca, type = "samples") plot(out.agpca, type = "variables")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.