View source: R/waterUseEfficiency.R
waterUseEfficiency | R Documentation |
Calculates plant water use efficiency (WUE), at different temporal scales, from simulation results.
waterUseEfficiency(
x,
type = "Plant Ag/E",
leaves = "average",
freq = "days",
draw = TRUE,
ylim = NULL
)
x |
An object of class |
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. |
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.
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.
Miquel De Cáceres Ainsa, CREAF
droughtStress
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.