Learn R Programming

indicspecies (version 1.7.15)

summary.multipatt: Summarizing multi-level pattern analysis

Description

This is a summary function for multipatt objects.

Usage

# S3 method for multipatt
summary(
  object,
  alpha = 0.05,
  minstat = NULL,
  At = NULL,
  Bt = NULL,
  indvalcomp = FALSE,
  ...
)

Arguments

object

An object returned by function multipatt.

alpha

Significance level for selecting species in the summary.

minstat

Minimum value of the statistic for selecting species in the summary.

At

Minimum value of positive predictive value (A) for selecting indicators. This argument is effective only if multipatt function was executed using func = "IndVal" or func = "IndVal.g".

Bt

Minimum value for sensitivity (B) for selecting indicators. This argument is effective only if multipatt function was executed using func = "IndVal" or func = "IndVal.g".

indvalcomp

Logical flag used to report components "A" (or "A.g") and "B" of indicator values. This argument is effective only if multipatt function was executed using func = "IndVal" or func = "IndVal.g".

...

Additional arguments of the summary function.

Author

Miquel De Cáceres Ainsa, EMF-CREAF

Details

The summary function for multipatt objects presents the results of the analysis by grouping species following their associated site group combination. Only significantly associated species are listed for each combination. The user can limit the species shown by setting a significance level and the minimum value for the strength of the association.

See Also

strassoc, signassoc, multipatt

Examples

Run this code
library(stats)

## Loads species data
data(wetland) 

## Creates three clusters using kmeans
wetkm <- kmeans(wetland, centers=3) 

## Runs the combination analysis using IndVal.g as statistic
wetpt <- multipatt(wetland, wetkm$cluster) 

## Lists those species with significant association to one combination
summary(wetpt) 

## Lists those species with significant association to one combination, 
## including indval components
summary(wetpt, indvalcomp=TRUE) 

Run the code above in your browser using DataLab