Description Usage Arguments Author(s) See Also Examples
Creates a pretty screeplpot using ggplot
. By default the explained variance is plotted
agaings the number of the principal component.
Alternatively the explained variance ratio, the cumulative
explained variance ratio, or the eigenvalues can be plotted.
1 | ggscreeplot(rpcaObj, type = c("var", "ratio", "cum", "eigenvals"))
|
rpcaObj |
Object returned by the |
type |
String c('var', 'ratio', 'cum', 'eigenvals'), optional. |
N. Benjamin Erichson, erichson@berkeley.edu
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.