tmap: Demonstration of how to make coloured maps of ternary...

Description Usage Arguments Author(s) References Examples

Description

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

Usage

1
2
3
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

1
2
3
data(rain)

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

Example output

Loading required package: grid
Loading required package: quadprog
Loading required package: maps
Loading required package: maptools
Loading required package: sp
Checking rgeos availability: TRUE
Loading required package: mapdata
Loading required package: dichromat

ternvis documentation built on July 5, 2019, 5:03 p.m.