comm_gr_trait: Group taxa by trait

View source: R/9.1.community_metrics.R

comm_gr_traitR Documentation

Group taxa by trait

Description

This function will group taxa by trait (trait.df) and return a list of presence/absence (binary distribution maps) stacks for each trait

Usage

comm_gr_trait(mtp.l, trait.df, trait.cols, threshold = NULL, model = NULL)

Arguments

mtp.l

List of stack or brick of thresholded predictions

trait.df

Data frame containing columns with taxon names (taxon), and categorical traits

trait.cols

Character. Name of columns containing traits

threshold

Name of threshold to be found within mtp.l object (returned by thrshld_b)

model

Name of model to be found within mtp.l object (returned by thrshld_b)


HemingNM/ENMwizard documentation built on Jan. 4, 2024, 3:24 p.m.