R coefficient for water stress

Usage

wsRcoef(aw, fieldc, wiltp, phi1, phi2, wsFun = c("linear", "logistic", "exp", "none"))

Arguments

aw
available water
fieldc
Field capacity of the soil (fraction).
wiltp
Wilting point of the soil (fraction).
phi1
coefficient which controls the spread of the logistic function.
phi2
coefficient which controls the effect on leaf area expansion.
wsFun
option to control which method is used for the water stress function.

Description

determines whether the argument wsFun is linear, logistic, exponential, or something else and calculates a value for wsPhoto based on that.