View source: R/successRegion.R
successRegion | R Documentation |
Creates a success region object which can then be used for
computing the probability of replication success with pors
.
successRegion(intervals)
intervals |
A 2xN matrix containing N disjoint intervals, the first column containing the lower and the second column containing the upper limits |
Returns an object of class "successRegion"
which is a matrix
containing the success intervals sorted in ascending order
Samuel Pawel
Pawel, S., Consonni, G., and Held, L. (2022). Bayesian approaches to designing replication studies. arXiv preprint. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.48550/arXiv.2211.02552")}
pors
, ssd
successRegion(intervals = rbind(c(1.96, Inf), c(-Inf, -1.96)))
successRegion(intervals = cbind(1.96, Inf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.