ens_roc: Relative Operating Characteristics for an ensemble.

View source: R/ens_roc.R

ens_rocR Documentation

Relative Operating Characteristics for an ensemble.

Description

Relative Operating Characteristics for an ensemble.

Usage

ens_roc(
  .fcst,
  parameter,
  thresholds,
  groupings = "leadtime",
  show_progress = FALSE
)

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 the ROC.

groupings

The groups for which to compute the ROC. See group_by for more information of how grouping works.

Value

A data frame with data grouped for the groupings column(s) and a nested column for the ROC with each row containing a data frame with columns: prob for the forecast probability bin, HR for the hit rate and FAR for the false alarm rate. Use unnest to unnest to the nested column.


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