plot.genarch: provides a custom plot of a genarch object

Description Usage Arguments Author(s) Examples

View source: R/plot.genarch.R

Description

Plot a publication quality figure of a genarch object with many built-in customization such as only a subset with variable importances over a chosen cut-off. If a cut-off is chosen that would make it so only a single bar would be plotted the min.vi argument will be automatically reduced to include at least the two CGEs with the highest variable importance.

Usage

1
2
3
4
## S3 method for class 'genarch'
plot(x, min.vi = .5, main=NULL, 
             cex.axis=1, cex.names=1, cex.main=1, 
             maxval=NULL, minval=NULL, viridis=F, ...)

Arguments

x

This is the observed data used in the function AnalyzeCrossesMM

min.vi

This is a "genarch" object returned by the function AnalyzeCrossesMM

main

title for the Y axis

cex.axis

expansion factor for Y axis

cex.names

expansion factor for CGE names on x axis

cex.main

expansion factor for main title

maxval

custom maximum value for a plot

minval

custom minimum value for a plot

viridis

logical indicating if the viridis color palette should be used

...

further arguments passed to plot

Author(s)

Heath Blackmon and Jeffery P. Demuth

Examples

1
2
3
data(PH)
results <- AnalyzeCrossesMM(PH)
plot(results)

SAGA documentation built on May 30, 2017, 6:42 a.m.