print.metropolis: Bayesian Estimation of Univariate Probability Distributions

Description Usage Arguments See Also Examples

Description

See metropolis.

Usage

1
2
## S3 method for class 'metropolis'
print(x, stats.fun = NULL,...)

Arguments

x

metropolis object corresponding to the fitted model.

stats.fun

An optional function that may be provided by the user in order to obtain a posterior summary (see Example).

...

none...

See Also

metropolis, print

Examples

1
2
3
4
5
6
7
data(yarns)
x <- yarns$x
fit.x <- mle(x,'gamma',c(.1,.1))
bayes.x <- metropolis(fit.x,50,trans.list=
	list(function(x) exp(x), function(x) exp(x)))
print(bayes.x)
print(bayes.x,stats.fun=function(x) c(mean=mean(x),CV=sd(x)/mean(x)))


Search within the FAmle 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.