waterUseEfficiency {medfate} | R Documentation |
Water use efficiency
Description
Calculates plant water use efficiency (WUE), at different temporal scales, from simulation results.
Usage
waterUseEfficiency(
x,
type = "Plant Ag/E",
leaves = "average",
freq = "days",
draw = TRUE,
ylim = NULL
)
Arguments
x |
|
type |
A string to indicate the scale of WUE calculation. Either:
|
leaves |
Either |
freq |
Frequency of summary statistics (see |
draw |
A boolean flag to indicate that a plot should be returned. |
ylim |
Range of values for y. |
Details
Temporal aggregation of WUE values is done differently depending on the value of type
.
For type = "Plant Ag/E"
, type = "Stand Ag/E"
, type = "Plant An/E"
and type = "Stand An/E"
sums
or daily photosynthesis and transpiration are first calculated at the desired temporal scale and the ratio is calculated afterwards.
For type = "Leaf iWUE"
intrinsic WUE values are first calculated at the daily scale (as averages of instantaneous An/gs ratios weighted by An)
and then they are aggregated to the desired scale by calculating weighted averages, where weights are given by daily photosynthesis.
Value
If draw=TRUE
a plot is returned. Otherwise, the function returns a matrix with WUE values,
where rows are dates (at the desired temporal scale), and columns are plant cohorts.
In the case of type = "Plant Ag/E"
, type = "Stand Ag/E"
, type = "Plant An/E"
and type = "Stand An/E"
values are in gC/L.
In the case of type = "Leaf iWUE"
values are in micromol of carbon per mmol of water.
Author(s)
Miquel De Cáceres Ainsa, CREAF