Learn R Programming

ZeBook (version 0.4)

evaluation.criteria: Computation of classical evaluation criteria function

Description

This function is depreciated and will be remove from the package in future versions. Please use goodness.of.fit

Usage

evaluation.criteria(Ypred, Yobs, 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

Run this code
# 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)
evaluation.criteria(sim,obs,draw.plot=TRUE)

Run the code above in your browser using DataLab