This function gives a summary of posterior of parameters.
Usage
# S3 method for htlr.fit
summary(
object,
features = 1L:object$p,
method = median,
usedmc = get_sample_indice(dim(object$mcdeltas)[3], object$mc.param$iter.rmc),
...
)
Value
A point summary of MCMC samples.
Arguments
object
An object of S3 class htlr.fit.
features
A vector of indices (int) or names (char) that specify the parameters we will look at.
By default all parameters are selected.
method
A function that is used to aggregate the MCMC samples. The default is median,
other built-in/customized statistical functions such as mean, sd, and mad
can also be used.
usedmc
Indices of Markov chain iterations used for inference. By default all iterations are used.