TLstatistics: TLstatistics

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/TLstatistics.R

Description

Calculates several statistical measures to compare model results with data.

Usage

1
TLstatistics(func,...,historical=NULL,datasources=NULL)

Arguments

func

Name of the magpie library function for which validation data shall be obtained.

...

Values for arguments that func takes. If an argument is not specified the default value are used if existing. Otherwise an error will occur.

historical

Determines what kind of data is taken into account. Either historical data (TRUE), projections (FALSE) or both (NULL).

datasources

A vector containing the names of the datasets that shall be used for comparison. If NULL (default) all datasets are returned.

Details

Details about the employed tests can be found here: redmine.pik-potsdam.de/projects/magpie-intern/wiki/Traffic_light_validation.

Value

A MAgPIE Object containing results of multiple tests (RD,MRSR,GRI,MK_p,m_annual) for all available comparison datasets.

Author(s)

Markus Bonsch

See Also

evaluate_TLstatistics,trafficLight,plot_TL

Examples

1
2
3
4
## Not run: 
TLstatistics(func=emissions,type="co2_c",datasources="FAO",historical=TRUE)

## End(Not run)

pik-piam/validation documentation built on Nov. 5, 2019, 12:50 a.m.