powered by
Draws a number of occurrences in group 1 (treatment) out of obsTotal number of occurrences.
rLogrank(n = 1, y0, y1, obsTotal, theta)
integer representing the number of occurrences in group 1 out of obsTotal number of occurrences.
integer, number of observations to be sampled.
Size of the risk set of group 0 (Placebo).
Size of the risk set of group 1 (Treatment).
Total number of observations.
Odds of group 1 over group 0 (treatment over placebo).
Muriel Felipe Perez-Ortiz and Alexander Ly
rLogrank(y0=360, y1=89, obsTotal=12, theta=3.14)
Run the code above in your browser using DataLab