Skip to contents

Simulates a randomised play-the-winner trial

Usage

randomiseRPW(N, Pa, Pb)

Arguments

N

sample size

Pa

response probabaility for arm A

Pb

response probabaility for arm B

Value

Vector of results: number of patients and responses in arm A and number of patients and responses in arm B.