Thank You,Eric. I run this code without id="id" and it worked! Eric Berger <ericjberger at gmail.com>: <The addicts data.frame has as its first column 'id', which seems to be the cause of the ERROR message.> ?
?Medic <rsubscribe at inbox.ru> via? R - help ?< r - help @ r -project.org > wrote:
<When I run code, I got the ERROR:
addicts.cp=survSplit(addicts, cut=addicts$survt[addicts$status==1], end="survt", event="status",start="start", id="id") ERROR in survSplit(addicts, cut = addicts$survt[addicts$status == 1],: the suggested id name is already present.>