reyniplot | R Documentation |
Draw sample paths associated with the Renyi test based on the log rank statistic.
reyniplot(time = NULL, delta = NULL, group = NULL, nsamp = 100, p = 1)
time |
event/censoring times. If null, hypothetical data set will be censored and plotted. |
delta |
censoring indicator |
group |
variable defining group. |
nsamp |
If time is null, number of random observations. |
p |
if data are random, gives multiplier for alternative. p=0 for null. |
A list with components m for the statistic, x for ordered times, and y for statistic matrix.
reyniplot(nsamp=20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.