make_regional_trait_dist: Make a regional scale functional distance matrix

Description Usage Arguments Value Note Author(s) See Also

View source: R/Regional_fun_dist.R

Description

This function is very similar to make_local_traits_distance, but will not subset to plot/focal species level by default.

Usage

1
make_regional_trait_dist(trait.data, traits)

Arguments

trait.data

A data frame that contains trait data information. Currently, this only supports names from Levin et al 2017, but will hopefully soon be generalized to include all trait names listed in TRY (Kattge et al 2017).

traits

A character vector of trait names that should match the names in trait.data. An effect method of subsetting this is to simply call names(trait.data)[first.trait:last.trait]

Value

An object of class dist

Note

These can easily be coerced to other data structures, but must be coerced to a matrix first.

Author(s)

Sam Levin

See Also

make_local_trait_dist, make_regional_trait_ktab


levisc8/Fun_Phylo_Package documentation built on June 2, 2020, 8:41 a.m.