seasonalComparison: Compare seasonal data

View source: R/benchmarking.R

seasonalComparisonR Documentation

Compare seasonal data

Description

Compares two datasets of monthly continuous data. Specifically calculates and returns a Statistics object (which contains many metrics) given numeric two vectors of equal size

Usage

seasonalComparison(
  x,
  layers1,
  layers2,
  additional,
  verbose = TRUE,
  area = TRUE
)

Arguments

x

A data.table containing the spatial-temporal-annual columns and two columns containing the data to be compared

layers1

A character string giving the first layer to compare (should be a column in x). For the normalised metrics, this is the *modelled* values.

layers2

A character string giving the second layer to compare (should be a column in x). For the normalised metrics, this is the *observed* values.

additional

A list of functions define additions metrics, see the custom.metrics argument of compareLayers

verbose

A logical, if TRUE print out all the metric scores

Value

A named list of metric statistics

Author(s)

Matthew Forrest matthew.forrest@senckenberg.de


MagicForrest/DGVMTools documentation built on Aug. 23, 2024, 8:05 a.m.