CalcHSI_cat: Calculate Habitat Suitability Index Table for Gag grouper

Description Usage Arguments Value Examples

View source: R/CalcHSI_cat.R

Description

Calculates HSI for individual categorical environmental variables in the catch data set

Usage

1
CalcHSI_cat(dat, EnvVariable)

Arguments

dat

Data frame of all catch (positive and zero). This data frame should include columns for Reference, Tot_Num_Gag, and categorical environmental variables (like bottom type)

EnvVariable

Categorical environmental variable name (not in quotes)

Value

returns a table of standardized S (suitability) values for each level of the variable

Examples

1
2
data(example_HSI_dat)
BottomType_HSI <- CalcHSI_cat(dat = example_HSI_dat, EnvVariable = Bottom)

ailich/testpackage documentation built on Sept. 11, 2020, 2:27 p.m.