rLogrank | R Documentation |
Draws a number of occurrences in group 1 (treatment) out of obsTotal number of occurrences.
rLogrank(n = 1, y0, y1, obsTotal, theta)
n |
integer, number of observations to be sampled. |
y0 |
Size of the risk set of group 0 (Placebo). |
y1 |
Size of the risk set of group 1 (Treatment). |
obsTotal |
Total number of observations. |
theta |
Odds of group 1 over group 0 (treatment over placebo). |
integer representing the number of occurrences in group 1 out of obsTotal number of occurrences.
Muriel Felipe Perez-Ortiz and Alexander Ly
rLogrank(y0=360, y1=89, obsTotal=12, theta=3.14)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.