Learn R Programming

ternvis (version 1.2)

tsetup: Utility function to calculate geometry associated with a quadratic score matrix

Description

This is just a useful internal function.

Usage

tsetup(L = diag(c(1, 1, 1))/sqrt(2), q = cbind(1, 1, 1)/3)

Arguments

L

A 3-by-3 matrix defining the quadratic score being used. (Default corresponds to Brier score.)

q

A 1-by-3 matrix containing the climatology.

Author

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

Run this code
tsetup() # returns a set of useful objects

Run the code above in your browser using DataLab