I have data that has
1) vital status (dead or alive) and 2) last day to follow up and 3) days to death
in survival analysis in R we have the following formula S1=survfit(Surv(time,status)
my Questions, is time to an event is the days to death?
is the status(censored or not) is the last day to follow up?
and I don't know how to use the vital status here?
I was thinking that vital status can be the status (0=alive,1=death)
but how can I get the time to event from the time to death and last follow up
can anyone correct me if I'm wrong