tmap {ternvis}R Documentation

Demonstration of how to make coloured maps of ternary forecasts

Description

An example of how one might make forecast maps using tpalette.

Usage

tmap(dat, iyr, circles = FALSE, fac = 10, theta0 = 0, 
     dich = "none", m = 0.7, palette = TRUE, 
     flip = FALSE)

Arguments

dat

An array of forecasts in a suitable format. See Example code below

iyr

In this example, an integer in the range 1 to 25.

circles

circles = FALSE (the default) fills map with coloured polygons. circles = TRUE fills map with circles whose radii are dependent on verification information.

fac

Scaling factor for size of circles when circles = TRUE.

theta0

Angle to rotate colours on palette. See tcolour.

dich

Optionally render colours as they would appear to a dichromat. See tcolour.

m

Parameter controlling rate at which colours saturate in palette. See tcolour.

palette

Logical. If palette = TRUE a colour palette is included.

flip

Logical to choose whether to switch categories B and A. See tcolour.

Author(s)

Tim Jupp

References

Jupp TE, Lowe R, Stephenson DB, Coelho CAS (2012) On the visualization, verification and recalibration of ternary probabilistic forecasts, Philosophical Transactions of the Royal Society, volume 370, pages 1100-1120.

http://rsta.royalsocietypublishing.org/content/370/1962/1100.full

http://arxiv.org/abs/1103.1303

Examples

data(rain)

tmap(rain,iyr=17,palette=TRUE,circles=FALSE,fac=10)

[Package ternvis version 1.2 Index]