Learn R Programming

nlist (version 0.5.0)

aggregate.nlists: Aggregate nlists

Description

lifecycle::badge("defunct")

Usage

# S3 method for nlists
aggregate(x, fun = mean, ..., by_chain = FALSE)

Value

An nlist object if by_chain = FALSE otherwise an nlists object.

Arguments

x

An object.

fun

A function that given a numeric vector returns a numeric scalar.

...

Unused.

by_chain

A flag specifying whether to aggregate by chains.

Details

Replace by estimates.nlists().

See Also

Other aggregate: aggregate.nlist()