QuantileProbs: Get exceedance probabilities from a S4 object

View source: R/auxiliaryFun.R

QuantileProbsR Documentation

Get exceedance probabilities from a S4 object

Description

Get exceedance probabilities from a S4 object with the dimensions c("var", "member", "time", "y", "x")

Usage

QuantileProbs(obj, obj2 = NULL, nbins = 3)

Arguments

obj

S4 object (hindcast or forecast) with dimensions c("var", "member", "time", "y", "x") it can be a station, field, multi-member field, etc. Probabilities will be computed for this object.

obj2

same S4 object (hindcast) as obj. The default is NULL. The cuantiles from obj2 are used to compute the obj probabilities.

nbins

number of bins derived from the quantiles selected (by default nbins=3, terciles)

Value

A S4 object with the exceedance probabilities. The object has dimensions c("var", "member", "time", "y", "x")

Author(s)

M. D. Frias mariadolores.frias@unican.es and J. Fernandez


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