WUI {growthPheno}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 numeric giving the value of the response achieved.

water

A numeric giving the amount of water used.

Value

A numeric containing the response divided by the water, unless water is zero in which case NA is returned.

Author(s)

Chris Brien

Examples

data(exampleData)
PSA.WUE <- with(longi.dat, WUI(PSA.AGR, WU))

[Package growthPheno version 2.1.25 Index]