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 |
|
fac |
Scaling factor for size of circles when |
theta0 |
Angle to rotate colours on palette. See |
dich |
Optionally render colours as they would appear to a dichromat. See |
m |
Parameter controlling rate at which colours saturate in palette. See |
palette |
Logical. If |
flip |
Logical to choose whether to switch categories B and A. See |
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)