flatten: "Flatten" error objects

Description Usage Arguments Details Value Methods (by generic)

Description

Flatten nested error objects into data.

Usage

1
2
3
4
flatten(x, ..., labels = NULL)

## S3 method for class 'errorcalc'
as.data.frame(x, ...)

Arguments

x

an errorcalc object of a list of errorcalc object

...

optionally, addition errorcalc objects

labels

optional column labels for the resulting data.frame

Details

The purpose of this function is to convert lists of error statistics into a single data.frame, so that they can be easily plotted or summarized. The result data.frame contains the various error computations stacked vertically with one or more additional columns indicating each computation's place in original list. The names of the addional columns are given by the labels argument.

Value

a data.frame

Methods (by generic)


mdzeig/errorstat documentation built on May 22, 2019, 6:48 p.m.