Calculates the Water Use Index, returning NA
if the water use is zero.
WUI(response, water)
A numeric
containing the water divided by the response, unless water is
zero in which caseNA
is returned.
Chris Brien
data(exampleData)
Area.WUE <- with(longi.dat, WUI(Area.AGR, Water.Loss))
Run the code above in your browser using DataLab