rkhist.data.frame: Method of S3 generic function 'rkhist' for 'data.frame'...

Description Usage Arguments Value

View source: R/rkhist.R

Description

This is the method called when the fcst argument in function rkhist is a data frame.

Usage

1
2
## S3 method for class 'data.frame'
rkhist(fcst, obs, names = NULL, ...)

Arguments

fcst

an object containing the ensemble forecasts. It must be a data frame, each row containing a forecast.

obs

an object containing the observation associated to the forecast in fcst. It can be a vector or a matrix, whose length is the same as the number of row in fcst

names

a character vector. The row names in the returned rkhist object.

...

additional arguments, passed to function base::rank.

Value

An S3 object of class rkhist (indeed just 1-row matrix containing the count for each rank, with class == "rkhist").


flatness documentation built on June 29, 2021, 9:08 a.m.