survTrunc: survTrunc

Description Usage Arguments Value Examples

Description

survTrunc iteratively truncates patient observations at specified time intervals and provides Kaplan-Meier survival curves analysis at each.

Usage

1
2
survTrunc(data, time, event, group, times, grpLabels = NULL,
  timeLabels = NULL)

Arguments

data

data.frame containing all variables

time

variable name for the time variable

event

variable name for the event variable

group

variable name for the group variable

times

vector of times to truncate and test survival curves at

grpLabels

labels for the group variable

timeLabels

labels for the time variable

Value

data.frame containing results

Examples

1
#NULL

TaylorAndrew/atAnalyze documentation built on May 9, 2019, 4:21 p.m.