stage1_sample_size: Expected stage 1 sample size under the null hypothesis for a...

Description Usage Arguments Examples

View source: R/two-stage-design.R

Description

This function returns the expected sample size in stage 1 under the null hypothesis of all designs contained in a two-stage curtail trial object

Usage

1

Arguments

x

a two-stage curtailed trial object

Examples

1
2
3
trials <- two_stage_curtail_trial(p1_null = 0.8, p2_null=0.2, 
p1_alt = 0.8, p2_alt = 0.4, n_total=36, prob_early=0.2, alpha=0.05)
stage1_sample_size(trials)

kaneplusplus/curtail documentation built on May 24, 2019, 2:04 a.m.