agg: Function to aggregate results from matrix to matrix

Description Usage Arguments Value Examples

Description

Defaults to mean, SD, limits, and given quantiles. Used to limit memory consumption from MCMC runs.

Usage

1
agg(mat, q = c(0.05, 0.16, 0.5, 0.84, 0.95))

Arguments

mat

input numeric matrix to summarize

q

quantiles of mat's columns to provide in summary matrix

Value

matrix with each row corresponding to a summary measure and each column corresponding to a column of mat

Examples

1
2
mat <- matrix(rnorm(5e3), ncol=5)
agg(mat)


Search within the networkTomography package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.