Solved – R command for stcox in Stata

rstatasurvival

What is the equivalent command in R for the stcox command in Stata?

Best Answer

In package survival, it's coxph. John Fox has a nice introduction to using coxph in R: