WUI {imageData} | R Documentation |
Calculates the Water Use Index (WUI)
Description
Calculates the Water Use Index, returning NA
if the water use is zero.
Usage
WUI(response, water)
Arguments
response |
A |
water |
A |
Value
A numeric
containing the water divided by the response, unless water is
zero in which caseNA
is returned.
Author(s)
Chris Brien
Examples
data(exampleData)
Area.WUE <- with(longi.dat, WUI(Area.AGR, Water.Loss))
[Package imageData version 0.1-62 Index]