Learn R Programming

pseudoCure (version 1.0.0)

mzTest: Maller-Zhou test

Description

Performs the Maller-Zhou test.

Usage

mzTest(time, status)

Value

A list containing the Maller-Zhou test results, including the test statistic, p-value, and the number of observed events.

Arguments

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.

Examples

Run this code
data(Teeth500)
mzTest(Teeth500$time, Teeth500$event)

Run the code above in your browser using DataLab