cwm: Community weighted mean trait values

Description Usage Arguments Value

View source: R/cwm.r

Description

Community weighted mean trait values

Usage

1
cwm(comm, traits, na.rm = FALSE)

Arguments

comm

Site by species weights matrix; if presence-absence (1-0), the function returns the community mean

traits

Matrix of traits; rownames will be matched to colnames in comm

na.rm

Logical, whether to remove NAs when computing the mean

Value

site by trait CWM matrix


mtalluto/mbm documentation built on Aug. 13, 2019, 9:43 a.m.