lmean: Average elements of a list

Description Usage Arguments Value Author(s) See Also Examples

View source: R/lmean.R

Description

Convenience function to compute sample means when samples are stored as a list. List elements should be compatible with addition and scalar division (e.g. must share the same dimensions).

Usage

1

Arguments

list

a list of parameter samples

Value

same type as a single element of the input list

Author(s)

Evan Poworoznek

See Also

amean

Examples

1
2
l = replicate(100, rnorm(10), simplify = FALSE)
lmean(l)

infinitefactor documentation built on April 3, 2020, 5:09 p.m.