October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps in R:
> sfitall = survfit(Surv(time, status)~1, data =cancer)> c = coxph(formula=Surv(time, status)~1, data=cancer)> n=basehaz(c)
Printing n will display all the hazard values with time. Plotting the same will be easy to understand:
> plot(n)

Read now
Unlock full access