mcat_site_score: MCAT Site Score

Description Usage Arguments Value Examples

Description

Calculates the MCAT site score for the input individual mussel data frame.

Usage

1
mcat_site_score(individuals, threshold = default_threshold)

Arguments

individuals

data frame; a data frame of individual mussel records.

threshold

a Thresold object; An object that holds the thresholds for each MCAT metric above which a site is considered to have met the MCAT metric threshold for consideration as a healthy mussel community for that metric.

Value

A data frame of sampled sites with the calculated suite of MCAT metrics and a total site score.

Examples

1
2
3
4
5
# Create the individual mussel data frame
individuals <- mcat::individuals

# Calculate percent fresh dead for the individuals data frame
mss <- mcat_site_score(individuals)

mpdougherty/mcat documentation built on June 5, 2019, 8:52 p.m.