Returns the performance for the chosen variable(s) and performance indicator(s). performance indicators are sourced form package hydroGOF Supported variables are those provided in the observed data file.
get_swap_performance(
project_path,
stat,
archived = FALSE,
variable = NULL,
depth = NULL,
verbose = F
)
path to project directory (string)
statistical performance indicator from package hydroGOF
(string)
set to TRUE
if project is saved in "rswap_saved/" (flag)
variable name. leave blank for all. (string)
depth of variable if it is depth-wise. leave blank for all (numeric)
print status? (flag)
dataframe value(s) of performance indicator(s) for given variable(s) and depth(s)
The performance indicator will be the result of a function passed as a string
in the stat
parameter as called from the hydroGOF
package.
The following are supported for stat
:
br2 cp d KGE mae md me mNSE mse nrmse NSE pbias rd rmse rNSE rPearson rSD rsr ssq VE
Please note, passing multiple variables at differing depths will not work! (yet)