TLevaluate: TLevaluate

View source: R/TLevaluate.R

TLevaluateR Documentation

TLevaluate

Description

Function to evaluate statistical tests concerning model-data compatibility with respect to predefined thresholds to determine agreement classes.

Usage

TLevaluate(TLstatistics)

Arguments

TLstatistics

MAgPIE object containing statistical test results as returned by TLstatistics.

Details

Details about the thresholds and the aggregation can be found here: https://redmine.pik-potsdam.de/projects/magpie-intern/wiki/Traffic_light_validation

Value

matrix containing agreement classes (0 = red, 1 = yellow, 2 = green).

Author(s)

Markus Bonsch

See Also

TLstatistics,trafficlight,TLplot

Examples

library(magclass)
data("population_magpie")
x <- population_magpie
xc <- x + runif(length(x)[1],0,10^5)
tl <- TLstatistics(x[,,1],xc)

TLevaluate(tl)


pik-piam/trafficlight documentation built on Jan. 27, 2024, 5:32 a.m.