Stan Maydan
2011-Oct-11 16:49 UTC
[R] restricted cubic spline within survfit.cph in the package rms
Hello, does anyone have an example on how to use restricted cubic splines function rcs within survfit.cph, if cph (Cox Proportional Hazard Regression) was done with restricted cubic splines (which I made to work)? Thank you.>[[alternative HTML version deleted]]
Frank Harrell
2011-Oct-11 20:01 UTC
[R] restricted cubic spline within survfit.cph in the package rms
It may be best to either write to the package maintainer (me, as you did) or post to the group but not both. Frank Stan Maydan-2 wrote:> > Hello, > ? > does anyone have an?example on how to use restricted cubic > splines function rcs within survfit.cph, if cph (Cox Proportional Hazard > Regression)?was done with restricted cubic > splines (which I made to work)? > > Thank you. > > > >> > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@ mailing list > 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. >----- Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/restricted-cubic-spline-within-survfit-cph-in-the-package-rms-tp3895252p3895797.html Sent from the R help mailing list archive at Nabble.com.
Seemingly Similar Threads
- Cross posting (was "Restricted Cubic Splines within survfit.cph)
- restricted cubic spline in FGR function
- showing ticks for censored data in survfit() in the rms package
- Restricted cubic spline function ERROR?: glm(Y~rcs(x,5))
- tansformation of variables in cph from rms package