View source: R/Auxiliar_functions.R
param_loglogist | R Documentation |
Auxiliar function to calculate SPEI. Calibrates parameters of multiple log-logist functions using Probability Weighted Moments (PWM) according to Singh (1998) "Entropu-based parameter estimation in Hydrology" (Ch. 18).
param_loglogist(var, n_param = 3)
var |
A matrix or data frame with the variable (hydrologic deficit for SPEI). The data has to be organized with months (or desired interval) in rows (e.g. 12 rows) and years in columns. |
n_param |
Number of parameters of the Log-logist distribution (either 2 or 3). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.