rec_env: Recovery Lake Stage Envelope Score

Description Usage Arguments Details Value Examples

View source: R/rec_env.R

Description

Calculates a recovery lake stage envelope score

Usage

1
rec_env(stg.data, allinfo = FALSE)

Arguments

stg.data

see details

allinfo

TRUE/FALSE if TRUE, the function will return values used in computing score

Details

The input stg.data is a data.frame with columns:

Value

Returns a data.frame of original data and normal stage elevation score.

Examples

1
2
3
4
5
6
# Example dataset (not real data)
dates=seq(as.Date("2016-01-01"),as.Date("2016-02-02"),"1 days")
dat=data.frame(Date=dates,Data.Value=runif(33,12,18))

score=rec_env(dat)
# END

SwampThingPaul/LORECOVER documentation built on Dec. 18, 2021, 3:05 p.m.