bin_trial_resample: Resample Trial Enrollment and Binary Outcomes

Description Usage Arguments

View source: R/trial.r

Description

Resample Trial Enrollment and Binary Outcomes

Usage

1
2
bin_trial_resample(resps, size, name, num_samples,
  sampler = lapply(seq_along(resps), function(x) function() 1))

Arguments

resps

the number of responses per arm.

size

the size of each arm.

name

the name of each arm.

num_samples

the number of resamples to draw.

sampler

function to sample enrollment. Default 1 enrollment per period.


kaneplusplus/trialsim documentation built on Aug. 6, 2019, 2:50 p.m.