plotRegressionStats: Visualize Error and Regression Metrics

Description Usage Arguments Value Author(s) Examples

Description

ESD standard method for visualizing calculated error and regression metrics.

Usage

1
2
plotRegressionStats(metrics, xlim_err = NULL, xlim_rsq = c(0, 1.05),
  left = TRUE, add = FALSE, ...)

Arguments

metrics

data.frame. Error and regression metrics as returned by evaluate.

xlim_err, xlim_rsq

numeric. x-axis range for the lower (errors; see '...') and upper (R^2) panel.

left

logical, defaults to TRUE. Determines position of the created plot in a multi-panel figure (i.e., if FALSE, the left y-axis is removed).

add

logical, defaults to FALSE. Determines whether the created plot is added to an already existing multi-panel figure.

...

Additional argument passed to round. If 'xlim_err' is missing, the lower axis range is calculated automatically.

Value

A trellis object.

Author(s)

Florian Detsch

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
## evaluate performance of EOT-based spatial downscaling
metrics <- evaluate(albGIMMS, albMODIS, size = 2)

## visualize results
p <- plotRegressionStats(metrics, xlim_err = c(-.012, 0.052), xlim_rsq = c(0.75, 1.05))
p

## End(Not run)

environmentalinformatics-marburg/ESD documentation built on May 16, 2019, 7:49 a.m.