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

View source: R/print.summary.mrs.R

print.summary.mrsR Documentation

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

## S3 method for class 'summary.mrs'
print(x, ...)

Arguments

x

A summary.mrs object

...

Additional print parameters.

References

Soriano J. and Ma L. (2017). Probabilistic multi-resolution scanning for two-sample differences. Journal of the Royal Statistical Society: Series B (Statistical Methodology). \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/rssb.12180")}

Ma L. and Soriano J. (2018). Analysis of distributional variation through multi-scale Beta-Binomial modeling. Journal of Computational and Graphical Statistics. Vol. 27, No. 3, 529-541.. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/10618600.2017.1402774")}

Examples

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)

MRS documentation built on June 22, 2024, 10:45 a.m.

Related to print.summary.mrs in MRS...