powered by
Plots the output from adaptivegpca, either a scree plot, the samples, or the variables.
adaptivegpca
# S3 method for adaptivegpca plot(x, type = c("scree", "samples", "variables"), axes = c(1, 2), ...)
An object of class adaptivegpca
What type of plot to make. scree will make a scree plot showing the eigenvalues, samples will plot the samples, and variables will plot the variables.
scree
samples
variables
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")
Run the code above in your browser using DataLab