summary.MfU: Summarizing and plotting "MfU" Objects

Description Usage Arguments Value Author(s) References See Also

View source: R/MfUSampler.R

Description

Methods for summarizing and plotting the output of MfU.Sample.Run.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'MfU'
summary(object, start = round(nrow(object)/2) + 1
  , end = nrow(object), thin = 1
  , quantiles = c(0.025, 0.5, 0.975), ...)
## S3 method for class 'summary.MfU'
print(x, ...)
## S3 method for class 'MfU'
plot(x, start = round(nrow(x)/2) + 1
  , end = nrow(x), thin = 1, ...)

Arguments

object

An object of class "MfU", typically the output of MfU.Sample.Run.

start

Which iteration to start from for calculating sample statistics.

end

Last iteration to use for calculating sample statistics. Defaults to last iteration.

thin

One out of thin samples are kept for calculating sample statistics. Default is 1, using all samples within specified range.

quantiles

Values for which sample-based quantiles are calculated.

...

Arguments passed to summary.mcmc and plot.mcmc functions in coda package.

x

For plot.MfU, an object of class "MfU", typically the output of MfU.Sample.Run; for print.summary.MfU, an object of class summary.MfU, typically the output of summary.MfU function.

Value

These functions are thin wrappers around summary.mcmc and plot.mcmc. See coda package documentation for details.

Author(s)

Alireza S. Mahani, Mansour T.A. Sharabiani

References

Mahani A.S and Sharabiani M.T.A. (2017). Multivariate-From-Univariate MCMC Sampler: The R Package MfUSampler. Journal of Statistical Software, Code Snippets, 78(1), 1-22. doi:10.18637/jss.v078.c01

See Also

MfU.Sample.Run


MfUSampler documentation built on June 20, 2017, 9:02 a.m.