Learn R Programming

medfate (version 4.7.0)

mortality_dailyProbability: Mortality

Description

A simple sigmoid function to determine a daily mortality likelihood according to the value of a stress variable.

Usage

mortality_dailyProbability(stressValue, stressThreshold)

Value

Returns a probability (between 0 and 1)

Arguments

stressValue

Current value of the stress variable (0 to 1, with higher values indicate stronger stress).

stressThreshold

Threshold to indicate 50% annual mortality probability.

Author

Miquel De Cáceres Ainsa, CREAF

See Also

growth, regeneration