Learn R Programming

comclim (version 0.9.6)

climatedeviations: Reports community climate deviations.

Description

Helper function to report community climate deviations. Deviations are calculated as standard effect sizes using a robust estimator as (x - quantile(null, 0.5)) / (quantile(null,0.75) - quantile(null,0.25)). Two-tailed p-values are also calculated by recentering the observed and null values to the null distribution mean, then determining the probability that the recentered observed value is either less than the null, or greater than the null.

Usage

climatedeviations(object)

Value

A named list of deviations, with each element containing a standard effect size (ses) and two-tailed p-value (pvalue) for each deviation

deviation_volumeMagnitude

A two element vector for climate volume (delta)

deviation_mismatchMagnitude

A two element vector for climate mismatch (lambda)

deviation_mismatchDirections

A two column data frame for climate mismatch along each climate axis (lambda_i), with row names corresponding to each axis

Arguments

object

A CommunityClimateStatistics object.