summary.mrs | R Documentation |
This function summarizes the output of the mrs
function.
It provides the marginal prior and posterior null and
the top regions of the representative tree.
## S3 method for class 'mrs' summary(object, rho = 0.5, abs_eff = 0, sort_by = "eff", ...)
object |
A |
rho |
Threshold for the posterior alternative probability.
All regions with posterior alternative probability larger
than |
abs_eff |
Threshold for the effect size. All regions with
effect size larger than |
sort_by |
Define in which order the regions are reported.
The options are |
... |
Additional summary parameters. |
A list
with information about the top regions.
Soriano J. and Ma L. (2016). Probabilistic multi-resolution scanning for two-sample differences. Journal of the Royal Statistical Society: Series B (Statistical Methodology). http://onlinelibrary.wiley.com/doi/10.1111/rssb.12180/abstract
Ma L. and Soriano J. (2016). Analysis of distributional variation through multi-scale Beta-Binomial modeling. arXiv. http://arxiv.org/abs/1604.01443
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)) object = mrs(X=X, G=G) fit = summary(object, rho = 0.5, abs_eff = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.