Skip to contents

Compute binary probabilities for deterministic forecasts

Usage

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

Arguments

.fcst

A harp_list object with harp_det_point_df deta frames, or a harp_det_point_df data frame.

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

An object of the same class as .fcst with columns for threshold, fcst_prob and optionally obs_prob instead of the raw forecast column.