Learn R Programming

npsm (version 2.0.0)

cancertrt: Survival time based on two treatments

Description

Survival times (in days) for undergoing standard treatment (S) and a new treatment (N).

Usage

data("cancertrt")

Arguments

Format

A data frame with 17 observations on the following 3 variables.

time

Survival time in days

event

Indicator for event

trt

a factor with levels N S

References

Higgins (2004), Introduction to Modern Nonparametric Statistics, Pacific Grove, CA:Brooks/Cole--Thomson Learning

Examples

Run this code
data(cancertrt)
with(cancertrt,gehan.test(time,event,trt))

Run the code above in your browser using DataLab