aggregate_errors: Aggregate a list of errors

Description Usage Arguments Details Value Author(s)

Description

aggregate_errors combines two or more error objects

Usage

1

Arguments

x

an error object or a list of error objects

max_depth

depth to check for an error object

Details

When only a single argument is provided, it should be a list of error objects. When multiple arguments are provided, they will be combined into a list using list(x, ...).

In the simplest case where x is a list of error objects, the function will return the error statistics of the combined sample, which can be done by appropriately weighting the error statistics themselves.

Value

A single error object or a list of error objects

Author(s)

Matthew Zeigenfuse


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