The instruction for the installation and the download of R can be found on the CRAN website.
Once R is installed, hydros1mple can be installed from GitHub.
if (!require("remotes")) install.packages("remotes") # install remotes package if needed
remotes::install_github("busemorose/hydros1mple") # install hydros1mple package
library(hydros1mple)
import_km()
: import KarstMod data input filesPET()
: calculate potential evapotranspiration with different methodsplot1v()
: generate plot of different variables (discharge, precipitation, temperature, potential evapotranspiration)plot2qp()
: generate plot of discharge-precipitation (double y-axis)mgl_to_meq()
: convert mg/L to meq/Lmeq_to_percent()
: convert meq/L to % (according to total anion/cation)transform_piper_data()
: transform data in mg/L to coordinates on the Piper diagramblank_ggplot_piper()
: empty Piper diagramsnow_routine()
: snow routine with temperature, precipitation and snow parametersrun_snow_routine()
: run the snow routine with subcatchmentsscore()
: calculate different performance criteria between sim and obssample_color()
: get n random colors with or without including grey shadeskm_properties()
: extract information from KarstMod .properties filescdf()
: cumulative distribution function of a variableinsight()
: helping function for analysing sim/obs discharge from hydrological modelsscore_seq()
: generate plot to evaluate a model by hydrological year or month on different subregimesscore_density()
: generate plot to show the density of criterion score by hydrological year or month