View source: R/plot.rdaccahp.r
plot.rdaccahp | R Documentation |
plot output of rdacca.hp() based on ggplot2
## S3 method for class 'rdaccahp'
plot(outputList, plot.perc = FALSE)
outputList |
the output of rdacca.hp(). |
plot.perc |
logical value, if TRUE, the bar plot (based on ggplot2) of the percentage ot independent effects of variables to total Rsquared, the default is FALSE to show plot with original independent effects. |
Jiangshan Lai lai@ibcas.ac.cn
Pedro Peres-Neto pedro.peres-neto@concordia.ca
library(vegan)
data(mite)
data(mite.env)
#Hellinger-transform the species dataset for RDA to deal with the "double zero" problem
mite.hel <- decostand(mite, "hellinger")
rda.hp <- rdacca.hp(mite.hel,mite.env,method="RDA",type="adjR2")
plot(rda.hp)
plot(rda.hp,plot.perc=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.