View source: R/sw_OutputDerived_Functions.R
get_evaporation | R Documentation |
Calculate evaporation from output
get_evaporation(
x,
timestep = c("Day", "Week", "Month", "Year"),
keep_time = FALSE
)
x |
An object of class |
timestep |
A character string. One of the rSOILWAT2 time steps. |
keep_time |
A logical value. Include time information in the returned object. |
A numeric vector of evaporation [mm] for each time step or a numeric matrix if 'keep_time'.
sw_out <- sw_exec(inputData = rSOILWAT2::sw_exampleData)
get_evaporation(sw_out, "Month")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.