det_probabilities: Compute binary probabilities for deterministic forecasts

View source: R/det_probabilities.R

det_probabilitiesR Documentation

Compute binary probabilities for deterministic forecasts

Description

Compute binary probabilities for deterministic forecasts

Usage

det_probabilities(.fcst, parameter, thresholds, obs_probabilities = TRUE)

Arguments

.fcst

A harp_fcst object with tables that have a column for observations, or a single forecast table.

parameter

The name of the column for the observed data.

thresholds

A numeric vector of thresholds for which to compute probabilities.

obs_probabilities

A logical indicating whether or not to compute the binary probabilities for the observations.

Value

A harp_fcst object with each data frame having columns for threshold, fcst_prob and optionally obs_prob instead of the raw forecast column.


andrew-MET/harpPoint documentation built on Feb. 23, 2023, 1:06 a.m.