GOFthis function calculates the goodness of fit (gof) using chi-squared test.
# S3 method for default
GOF(basin,object,observed)An object from class of sim.
An object from either of classes of createAquifer , createRiver, createReservoir, createJunction, createDiversion, or createDemandSite; which is associated with observed time series and exists in the basin.
A vector of observed time series.
A list with class "htest".