ClimEns {SpecsVerification}R Documentation

Construct a climatological ensemble from a vector of observations.

Description

Construct a climatological ensemble from a vector of observations. Optionally, the climatological ensemble observation at time t can be constructed without the observation at time t (leave-one-out).

Usage

ClimEns(obs, leave.one.out=FALSE)

Arguments

obs

vector of length N. The observations.

leave.one.out

logical, default=FALSE. If TRUE, the n-th observation is removed from the n-th row of the ensemble matrix.

Value

matrix with N rows and N-1 columns (if leave.one.out==TRUE) or N columns otherwise.

Examples

data(eurotempforecast)
ClimEns(obs)

[Package SpecsVerification version 0.5-3 Index]