run.trial: Run a Simulated Trial

Description Usage Arguments Value

View source: R/9-run.R

Description

Run a Simulated Trial

Usage

1
2
3
4
5
6
run.trial(
  scheduler,
  simulator,
  N.trials = 10,
  N.allocate = scheduler@N.burn.in
)

Arguments

scheduler

A scheduler object.

simulator

A simulator object.

N.trials

An integer. The total number of times to allocate patients.

N.allocate

An integer. The total number of patients to allocate next. By default, N.allocate is set equal to N.burn.in.

Value

A scheduler object.


tpq/rarsim documentation built on April 4, 2020, 3:49 a.m.