tgrid: Create a grid of points in barycentric coordinates

Description Usage Arguments Value Author(s) References See Also Examples

Description

Utility function to generate a grid of ternary forecasts equally spaced in baycentric coordinates.

Usage

1
tgrid(n)

Arguments

n

An integer describing the number of ‘bins’ along each side of the barycentric triangle.

Value

An n-by-3 matrix of ternary forecasts.

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

See Also

tplot

Examples

1
2
3
tg <- tgrid(6) # make a grid of forecasts in the triangle
tg             # print forecasts to the terminal
tplot(tg)      # plot forecasts

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