lmean {infinitefactor} | R Documentation |
Average elements of a list
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
lmean(list)
Arguments
list |
a list of parameter samples |
Value
same type as a single element of the input list
Author(s)
Evan Poworoznek
See Also
Examples
l = replicate(100, rnorm(10), simplify = FALSE)
lmean(l)
[Package infinitefactor version 1.0 Index]