Description Usage Arguments Examples
View source: R/eddi_percentile.R
Function to calculate EDDI in percentiles on a week accumulation time
1 | eddi_percentile(vtime, vet0, dist = "tukey")
|
vtime |
a data.frame column or vector with daily time stamps (Date type) |
vet0 |
a data.frame column or vector with ordered daily ET0 values. They
can be obtained directly from reanalysis/models or from the functions
|
dist |
string containing the distribution used to calibrate EDDI. It can either be 'tukey' following the original method from Hobbings et al (2016) or log-logist' according to Noguera et al. (2021) |
1 2 3 4 5 | ET0 <- penman_day(vtime = df_d$time, vwind = df_d$wind_speed,
vvpd = df_d$vapor_p_def, vtemp = df_d$temperature,
vheatflux = (df_d$sensible_heat + df_d$latent_heat))
percentiles_eddi <- eddi_percentile(vtime = de_tha_d$time, ET0$et0, dist = 'tukey')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.