View source: R/calculate_bagrov_curve.R
calculate_bagrov_curve | R Documentation |
Calculate the curve(s) of the Bagrov relation
calculate_bagrov_curve(
effectivity,
P_over_Ep_max = 4,
Ep = 650,
delta_Ea = 0.1,
dbg = FALSE
)
effectivity |
Bagrov effectivity value (= n-value) |
P_over_Ep_max |
maximum value of the ratio P/Ep with precipitation P and potential evaporation Ep. |
Ep |
potential evaporation in mm/a (default: 650) |
delta_Ea |
step of actual evaporation (default: 0.1) |
dbg |
logical indicating whether or not to show debug messages |
data frame with columns P_over_Ep
(P/Ep), Ea_over_Ep
(Ea/Ep), effectivity
(n-value)
## Not run:
bagrov_data <- calculate_bagrov_curve(1:2)
plot(bagrov_data$P_over_Ep, bagrov_data$Ea_over_Ep)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.