View source: R/TestFunctions.R
create_EPA_intervalTF | R Documentation |
Convenience function for using the encompassing prior test function in the case when an interval is to be tested. The null hypothesis is that all of the effect parameters are within the interval.
create_EPA_intervalTF(lower, upper)
lower |
The lower end of the interval to be used. Single-sided intervals can be constructed by using |
upper |
The upper end of the interval to be used. Single-sided intervals can be constructed by using |
A function that can be passed as the testFunction
argument of, e.g., testHypothesis
.
## Not run: tf = create_EPA_intervalTF(-0.5, 0.5) testHypothesis(prior, post, fact, "f", testFunction = tf) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.