simulate_standard_trial: Simulate trial without any knowledge of preference

View source: R/simulate_trial_model2.R

simulate_standard_trialR Documentation

Simulate trial without any knowledge of preference

Description

Simulate trial without any knowledge of preference

Usage

simulate_standard_trial(
  dat = generate_preference_data(),
  n_seq = c(100, 150, 200, 250, nrow(dat$y)),
  alloc = rep(1/ncol(dat$y), ncol(dat$y)),
  sup_eps = 0.95,
  eff_eps = 0.95,
  brar = FALSE,
  ...
)

Arguments

dat

Data generated from 'generate_preference_data'

n_seq

Sequence of interim analyses

alloc

Initial allocation probabilities

brar

Use BRAR?

...

Other arguments to 'vb_lm' functions


jatotterdell/mfittrial documentation built on Sept. 30, 2022, 12:23 p.m.