print.ssdRS {BayesRepDesign} | R Documentation |
Print method for class "ssdRS"
Description
Print method for class "ssdRS"
Usage
## S3 method for class 'ssdRS'
print(x, ...)
Arguments
x |
Object of class |
... |
Other arguments (for consistency with the generic) |
Value
Prints text summary in the console and invisibly returns the
"ssdRS"
object
Author(s)
Samuel Pawel
Examples
## specify design prior
to1 <- 2
so1 <- 1
dprior <- designPrior(to = to1, so = so1)
## compute required standard error for significance at one-sided 2.5%
sregionfunSig <- function(sr, alpha = 0.025) {
successRegion(intervals = cbind(stats::qnorm(p = 1- alpha)*sr, Inf))
}
ssd1 <- ssd(sregionfun = sregionfunSig, dprior = dprior, power = 0.8)
print(ssd1)
[Package BayesRepDesign version 0.42 Index]