plot.CommunityClimateStatistics {comclim}R Documentation

Draws community climate diagram.

Description

Produces either a deviations plot or a community climate diagram. The deviations plot compares null distributions (black) and observed values (red) for volume, mismatch, and mismatch along each axis, along with the interquartile range of null values. The community climate diagram shows the location of the community (red points) and null communities (black points) in climate space at tinf, and compares it to the observed climate at tobs (open black point). The climate volume for each is shown as a circle, and the climate mismatch is shown as a vector connecting the inferred climate at tinf to the observed climate at tobs.

Usage

## S3 method for class 'CommunityClimateStatistics'
plot(x, deviations = FALSE, axisnames = NULL, 
  nnull = 10, cex.axis = 0.7, cex.nullpoints = 0.3, 
  cex.obspoints = 0.5, cex.names = 1.5, ...)

Arguments

x

A CommunityClimateStatistics object to be plotted

deviations

If TRUE, produces a deviations plot; if FALSE, produces a community climate diagram. All subsequent options are applicable only when deviations=FALSE.

axisnames

Labels to be drawn for each climate axis.

nnull

Number of null simulations to be drawn on the diagram; lower values may produce clearer plots.

cex.axis

Expansion factor for the axis ticks.

cex.nullpoints

Expansion factor for the null points.

cex.obspoints

Expansion factor for the observed points.

cex.names

Expansion factor for the climate axis labels.

...

Other arguments to be passed to plot commands

Value

None; used for the side-effect of producing a plot.

Examples

# (uncomment next six lines - not run for CRAN speed)

# community_richness_5 <- generatedemodata()
# result_community <- communityclimate(community_richness_5,
#  climateaxes=c("ClimateAxis1","ClimateAxis2","ClimateAxis3"),
#	 numreplicates=25)

# plot(result_community,deviations=TRUE)   # deviations plot
# plot(result_community,deviations=FALSE)  # community climate diagram

[Package comclim version 0.9.6 Index]