Description Usage Arguments Value Examples
Plots the PCA result from a 'rda' object in package 'vegan' with 'ggplot2'. Note that the terminology in the descriptions follow that in 'vegan.'
1 2 3 4 5 6 7 8 9 |
rda_object |
The 'rda' object calculated by 'vegan'. |
scaling |
The scaling of the PCA result. In breif, scaling = 1 illustrates the distance between sites. scaling = 2 illustrates the correlation between species. |
sites_addins |
The factored information for sites. |
species_addins |
The factored information for species. |
sites_label |
The column in the 'sites_addins' for showing the labels of the sites. |
sites_color |
The column in the 'sites_addins' for changing the colors of sites |
species_color |
A character with the length of 1 to change the coloring of species. |
A ggplot object. Any further 'theme' manipulations can be directly added following the ggplot grammar.
1 2 3 4 5 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.