plot.rdaccahp: plot output of rdacca.hp() based on ggplot2

View source: R/plot.rdaccahp.r

plot.rdaccahpR Documentation

plot output of rdacca.hp() based on ggplot2

Description

plot output of rdacca.hp() based on ggplot2

Usage

## S3 method for class 'rdaccahp'
plot(outputList, plot.perc = FALSE)

Arguments

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.

Author(s)

Jiangshan Lai lai@ibcas.ac.cn

Pedro Peres-Neto pedro.peres-neto@concordia.ca

Examples

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)

laijiangshan/rdacca.hp documentation built on Feb. 22, 2025, 9:43 a.m.