resistances | R Documentation |
Calculates and draws rhizosphere, root, stem and leaf resistances for simulation time steps
resistances(
x,
cohort,
relative = FALSE,
draw = FALSE,
cumulative = FALSE,
xlab = NULL,
ylab = NULL
)
x |
An object of class |
cohort |
An string indicating the cohort for which resistances are desired. |
relative |
A boolean flag to indicate that relative percentages are desired as output. |
draw |
A boolean flag to indicate that a plot should be drawn (only pathway resistances, without discriminating between soil layers). |
cumulative |
A flag to indicate that drawn series should be cumulative. |
xlab |
x-axis label. |
ylab |
y-axis label. |
The function makes internal calls to hydraulics_soilPlantResistancesWeibull
or
hydraulics_soilPlantResistancesSigmoid
depending on the value of transpirationMode
in x
.
If draw = FALSE
, the function returns list with three items:
pathway
: A data frame with dates in rows and resistance segments in columns (Rhizosphere, Root, Stem and Leaf).
root
: A data frame with dates in rows and root resistances for soil layers in columns.
rhizosphere
: A data frame with dates in rows and rhizosphere resistances for soil layers in columns.
Values depend on whether relative = TRUE
(percentages) or relative = FALSE
(absolute resistance values).
If draw = TRUE
, a plot object is returned showing the time series of pathway resistances.
Miquel De Cáceres Ainsa, CREAF
Léa Veuillen, INRAE-URFM
waterUseEfficiency
, droughtStress
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.