Given an arm allocation and response rates, this function generates response from a given distribution.
Usage
getDataCont(arm, resprate, dist = "norm")
Value
Returns a continuous value corresponding to patient response.
Arguments
arm
Arm allocation for a single patient. Expects number in 1,2,...,n where n is the number of treatment arms including control.
resprate
Response rates for each arm. Expects a list of n lists with the first list containing
median and standard deviation paramaterizing control response. Expects c(mean, sd) for each arm.