
Print the operating characteristics of several designs
Source:R/print.qdm_comparison.R
print.qdm_comparison.RdPrint the operating characteristics of several designs
Usage
# S3 method for class 'qdm_comparison'
print(x, digits = 4L, ...)Examples
des <- design_binary(
n_t = 12, n_c = 12,
prior_t = prior_beta(0.5, 0.5), prior_c = prior_beta(0.5, 0.5),
criterion = criterion_posterior(theta_tv = 0.2, theta_mav = 0.1,
gamma_go = 0.5, gamma_nogo = 0.8)
)
qdm_compare(list(n12 = des, n24 = qdm_sample_size(des, 24, 24)),
data.frame(pi_t = c(0.3, 0.6), pi_c = 0.3))
#> Operating characteristics of 2 designs
#> Method: exact enumeration of the outcomes
#> design pi_t pi_c Go NoGo Gray Miss
#> n12 0.3 0.3 0.13165 0.41696 0.4514 0
#> n12 0.6 0.3 0.68750 0.04137 0.2711 0
#> n24 0.3 0.3 0.07551 0.45700 0.4675 0
#> n24 0.6 0.3 0.79565 0.01081 0.1935 0