Calcule multiple goodness-of-fit criteria

Share:

Description

Calcule multiple goodness-of-fit criteria

Usage

1
  goodness.of.fit(Yobs, Ypred, draw.plot = FALSE)

Arguments

Ypred

: prediction values from the model

Yobs

: observed values

draw.plot

: draw evaluation plot

Value

data.frame with the different evaluation criteria

Examples

1
2
3
4
# observed and simulated values
obs<-c(78,110,92,75,110,108,113,155,150)
sim<-c(126,126,126,105,105,105,147,147,147)
goodness.of.fit(obs,sim,draw.plot=TRUE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.