hindcast2prob: internal function prob2bin

View source: R/reliabilityCategories.R

hindcast2probR Documentation

internal function prob2bin

Description

This function provides the object needed by "calculateReliability_v2.R" for calculating the reliability categories of a probabilistic prediction.

Usage

hindcast2prob(hindcast, n.events, hindcast4cats = NULL)

Arguments

hindcast

3D-array of predictions, dimensions = (member, time, npoints)

n.events

Number of categories (3 for terciles)

hindcast4cats

Optional. 3D-array of predictions for which calculate the categories (e.g., terciles)

dimensions

(member, time, npoints)

Value

hindcastprob: 3D-array of probabilistic predictions, dimensions = (n.events, time, npoints)

Note

For hindcast4cats, categories are calculated at model- (not at member-) level

Author(s)

R. Manzanas \& M.Iturbide


SantanderMetGroup/visualizeR documentation built on Oct. 28, 2023, 6:11 a.m.