calcYearsCold: calcYearsCold

Description Usage Arguments Details Value

Description

calcYearsCold Calculate derived metrics from predicted stream temperatures

Usage

1
calcYearsCold(grouped.df, derived.df, temp.threshold, states)

Arguments

grouped.df

Dataframe grouped by featureid then year

derived.df

Dataframe of derived metrics

state

Character string for specific State

Details

Different states have different classifications of cold, cool, and warm streams for regulatory purposes. This function takes the state abreviation and returns the number and frequency of years that any stream reach is expected to fall within each category.

Value

Returns Dataframe of derived metrics (e.g. max temperature predicted over daymet record) for each featureid across all years


Conte-Ecology/conteStreamTemperature documentation built on Oct. 12, 2021, 10:26 p.m.