Create a grid of points in barycentric coordinates
Create a grid of points in barycentric coordinates
Utility function to generate a grid of ternary forecasts equally spaced in baycentric coordinates.
tgrid(n)
Arguments
n: An integer describing the number of `bins' along each side of the barycentric triangle.
Returns
An n-by-3 matrix of ternary forecasts.
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.