Learn R Programming

MRS (version 1.1)

print.summary.mrs: Print summary of a mrs object

Description

This function print the summary the output of the mrs function. It provides the marginal prior and posterior of the null and the top regions of the representative tree.

Usage

"print"(x, ...)

Arguments

x
A summary.mrs object
...
Additional print parameters.

References

Soriano J. and Ma L. (2014). Multi-resolution two-sample comparison through the divide-merge Markov tree. Preprint. http://arxiv.org/abs/1404.3753

Examples

Run this code
set.seed(1)
n = 100
p = 2
X = matrix(c(runif(p*n/2),rbeta(p*n/2, 1, 4)), nrow=n, byrow=TRUE)
G = c(rep(1,n/2), rep(2,n/2))
x = mrs(X=X, G=G)
fit = summary(x, rho = 0.95, abs_eff = 1)
print(fit)

Run the code above in your browser using DataLab