[R] RCS (Restriced Cubic Splines)

2012-04-29 Thread Noah Silverman
In the book, Regression Modeling Strategies, Frank Harrell uses the function rcs() often. The current version or R and Hmisc library don't appear to have this function. What is an appropriate substitute? Thank You -- Noah Silverman UCLA Department of Statistics 8208 Math Sciences Building

Re: [R] RCS (Restriced Cubic Splines)

2012-04-29 Thread peter dalgaard
On Apr 29, 2012, at 09:34 , Noah Silverman wrote: In the book, Regression Modeling Strategies, Frank Harrell uses the function rcs() often. The current version or R and Hmisc library don't appear to have this function. What is an appropriate substitute? The rms package, I