View source: R/simulatetrials.R
This function doesn't use an actual second point, just the projected based on the initial point
1 2 3 4 | simulateNoCar(n1 = 20, N1 = 100, N = 200, n.trt = 3,
mean.s = NULL, mean.t = NULL, p1 = 0.5, p2 = 0.5, sigma0 = 1,
sigma = 1, rho = 0.5, nsim = 10000, tau1 = 1, tau2 = 1,
save.boundary)
|
N1 |
Number of patients with secondary endpoint available at first analysis |
N |
The total number of patients in the trial |
n.trt |
The number of treatments in the trial |
mean.s |
The mean for short term endpoint sample groups |
mean.t |
Mean for the long term endpoint sample groups |
p1 |
The covariate value for the first covariate |
p2 |
THe covariate value for the second covariate |
sigma0 |
sigma0 in the bivariate normal distribution |
sigma |
is the known sigma for the population |
rho |
is the known correlation between endpoints. |
nsim |
The number of simulation runs. The default is 10000 |
tau1 |
The chosen covariate adaptive randomization procedure. Default is Pocock's design |
tau2 |
The chosen covariate adaptive randomization procedure. Default is Pocock's design |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.