Commit 6bcc5057 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.1.2.9 NEW: ErrorCrit_KGE returns classes KGE and ErrorCrit

parent 664a5737
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.1.2.8
Version: 1.1.2.9
Date: 2018-10-22
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -202,7 +202,8 @@ ErrorCrit_KGE <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = T
Multiplier = Multiplier,
Ind_notcomputed = Ind_TS_ignore
)
# class(OutputsCrit) <- c("ErrorCrit", "KGE")
class(OutputsCrit) <- c("KGE", "ErrorCrit")
return(OutputsCrit)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment