hzambran / hydroGOF

Goodness-of-fit functions for comparison of simulated and observed hydrological time series
https://CRAN.R-project.org/package=hydroGOF
39 stars 13 forks source link

Goodness of fit in rstudio #2

Closed hiztirab closed 4 years ago

hiztirab commented 8 years ago

Data.xlsx After arranging data i have applied the gof command as "gof=(sim=simulated, obs= observed)" and got this error. warning messages: 1: 'rNSE' can not be computed: some elements in 'obs' are zero ! 2: 'rd' can not be computed: some elements in 'obs' are zero ! I have also applied categorical statistics on this data. And i used this command "plot(ggof(sim = sim, obs = obs,na.rm=TRUE, ylab = "Q (ft3/day)", ftype =c("seasonal"),FUN=mean))" to draw the figures. same issues are getting here.

hzambran commented 8 years ago

Dear hiztirab,

could you be specific about the issues that you found there?

the ggof function automatically produces a plot to the current graphical device, and therefore there is no need to call it within a plot command.