eval: Accuracy measures for quantitative or categorical variables

Description Usage Arguments Details Value

View source: R/eval.R

Description

Computation of a set of accuracy measures between observed and predicted values or classes.

Usage

1
eval(obs, pred, obj, ...)

Arguments

obs

A vector of measured values or classes.

pred

A vector of predicted values or classes.

obj

Either quant or cat to specify whether obs and pred are quantitative or categorical.

...

Further not yet used parameters.

Details

The accuracy measures for quantitative variables (when obj = 'quant') are

The accuracy measures for categorical variables (when obj = 'cat'):

Value

Data frame with accuracy measures.


AlexandreWadoux/soilspec documentation built on March 7, 2021, 1:54 p.m.