Title
cross_trials.Rd
Title
Examples
bernoulli_trial() |>
cross_trials(num_trials = 3)
#> # A tibble: 8 × 6
#> t1_outcome t1_prob t2_outcome t2_prob t3_outcome t3_prob
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 0 0.75 0 0.75 0 0.75
#> 2 0 0.75 0 0.75 1 0.25
#> 3 0 0.75 1 0.25 0 0.75
#> 4 0 0.75 1 0.25 1 0.25
#> 5 1 0.25 0 0.75 0 0.75
#> 6 1 0.25 0 0.75 1 0.25
#> 7 1 0.25 1 0.25 0 0.75
#> 8 1 0.25 1 0.25 1 0.25