Learn R Programming

ternvis (version 1.3)

Visualisation, Verification and Calibration of Ternary Probabilistic Forecasts

Description

A suite of functions for visualising ternary probabilistic forecasts, as discussed in the paper by Jupp (2012) .

Copy Link

Version

Install

install.packages('ternvis')

Monthly Downloads

168

Version

1.3

License

GPL-2

Maintainer

Tim Jupp

Last Published

March 28th, 2025

Functions in ternvis (1.3)

tverify

Verification of ternary forecasts / observations
tscale

Rescale a 3-vector to yield a ternary forecast
tscore

Calculate the (Brier) score associated with ternary forecasts and observations
tmap

Demonstration of how to make coloured maps of ternary forecasts
tcalibrate

Calibration of ternary forecasts
tcolour

Assign a colour to a ternary forecast
rain

Ternary precipitation forecast data set
tpalette

Draw a palette of the colours assigned to ternary forecasts
tgetcal

Get a linear or quadratic calibration of ternary forecast / observation data
tplot

Plot ternary forecasts in barycentric coordinates.
tgrid

Create a grid of points in barycentric coordinates
tsetup

Utility function to calculate geometry associated with a quadratic score matrix
foot

Football betting dataset
ternvis-package

Visualisation, verification and calibration of ternary forecast data
yf

y coordinate of a ternary forecast in barycentric coordinates
xf

x coordinate of a ternary forecast in barycentric coordinates