Using survfit I can get the '1 year' Survival from this dataset which holds 
survival in days:

require (survival)
survfit( Surv(time, status) ~sex, data=colon)
summary (fit, 365)

My current real world data I'm calculating time using lubridate to calculate 
time and since it made the axis easy I just told it to do and so my "time" 
appears to be  a float in months.

time <- time_length(interval(startDate, endDate), "months")

Is there a "right" approach to this (as in a convention). If I use 12months as 
a year and describe it in the write up as 12, 24 and 36 month survival rather 
than 1, 2 and 3 year presumably that is OK..

I've been asked to report 30, 60 & 90day. Then 6month, 1, 2 and 3 year survival.

Should I calculate time 3 times, (interval day, month and year) and run the 
survival on each to get the requested outputs or would people just provide 
something close.

Should I run a campaign to decimilise time?






Sent from Nine<http://www.9folders.com/>


********************************************************************************************************************

This message may contain confidential information. If you are not the intended 
recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take 
any action in relation to its contents. To do so is strictly prohibited and may 
be unlawful. Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff 
in England and Scotland. NHSmail is approved for exchanging patient data and 
other sensitive information with NHSmail and other accredited email services.

For more information and to find out how you can switch, 
https://portal.nhs.net/help/joiningnhsmail


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] ... POLWART, Calum (SOUTH TEES HOSPITALS NHS FOUNDATION TRUST) via R-help
    • ... Marc Schwartz via R-help
      • ... POLWART, Calum (SOUTH TEES HOSPITALS NHS FOUNDATION TRUST) via R-help

Reply via email to