treatment: vector. treatment assignment for patients, 1 for treatment group and 0 for control group
outcome: vector. binomial outcome of the trial, 1 for response (success or failure), 0 for no response.
complete: vector. similar length as treatment and outcome variable, 1 for complete outcome, 0 for loss to follow up. If complete is not provided, the dataset is assumed to be complete.
.data: NULL. stores the binomial data for analysis, please do not fill it in.
Returns
a list with treatment, outcome and loss to follow up vector with binomial outcome.