TLplot: TLplot

View source: R/TLplot.R

TLplotR Documentation

TLplot

Description

Function to plot the results of the automatic validation procedure as a traffic light symbol

Usage

TLplot(mode, detailed = TRUE, linesize = 0.5)

Arguments

mode

A matrix containing traffic light values returned by TLevaluate.

detailed

boolean deciding whether detailed information should be plotted or not. In detailed mode each block represents a test group with the first traffic light showing the overall performance in this group and the following traffic lights showing the results of single tests.

linesize

line size of the traffic light borders

Value

A ggplot object.

Author(s)

Jan Philipp Dietrich, Markus Bonsch

See Also

TLevaluate,TLstatistics,trafficlight

Examples

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

TLplot(tle)


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