mHM_GOF4period: Calculate GOFs for time intervals.

Description Usage Arguments Details Value Author(s) Examples

Description

mHM_GOF4period returns Goodness of Fit (GOF) measures for specific time intervals. GOF measures are calculated with hydroGOF::gof.

Usage

1
2
mHM_GOF4period(zoo_obj, start = NA, end = NA, plot = FALSE, pdf = FALSE,
  KGEonly = TRUE, method = "2009")

Arguments

zoo_obj

zoo object containing observed and simulated daily discharge.

start

start date, either Date object or character in the following format yyyy-mm-dd.

end

end date, either Date object or character in the following format yyyy-mm-dd.

plot

boolean, if TRUE ggof plot from hydroGOF package.

KGEonly

boolean, if TRUE only GOF KGE is given back, in addition to the Kling-Gupta efficiency the Pearson product-moment correlation coefficient (‘r’), the ratio between the mean of the simulated values to the mean of observations (‘Beta’), and the variability measure (‘Gamma’ or ‘Alpha’ the Pearson product-moment correlation coefficient (‘r’), the ratio between the mean of the simulated values to the mean of observations (‘Beta’), and the variability measure (‘Gamma’ or ‘Alpha’, depending on the value of method))

method

see help(hydroGOF::KGE), default: "2009"

Details

Besides calculation of GOFs mHM_GOF4period provides ploting facilities from hydroGOF::ggof. By default three plots are produced: daily and monthly aggregation, seasonal aggregation, all of them comparing simulated and observed discharge time series.

Value

numeric vector of GOF values.

Author(s)

Johannes Brenner johannes.brenner@ufz.de

Examples

1
2
3
4
library(zoo)
library(hydroGOF)
data(Qout_mHM)
cal_gof <- mHM_GOF4period(zoo_obj = Qout_mHM, start = "2000-01-01", end = "2008-03-30", plot = FALSE)

JBrenn/mHMr documentation built on May 7, 2019, 7:39 a.m.