Skip to content
Prev 377188 / 398502 Next

survival analysis question

You need to read the Help page for the function survSplit
?survSplit
states that the id argument is a

 "character string with the name of new id variable to create (optional).
This can be useful if the data set does not already contain an identifier"

The addicts data.frame has as its first column 'id', which seems to be the
cause of the ERROR message.

HTH,
Eric



On Wed, Oct 31, 2018 at 5:37 PM Medic via R-help <r-help at r-project.org>
wrote: