mzTest | R Documentation |
Performs the Maller-Zhou test.
mzTest(time, status)
time |
A numeric vector for the observed survival times. |
status |
A numeric vector for the event indicator; 0 indicates right-censoring and 1 indicates events. |
A list containing the Maller-Zhou test results, including the test statistic, p-value, and the number of observed events.
data(Teeth500)
mzTest(Teeth500$time, Teeth500$event)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.