[R] rms R code

Frank Harrell f.harrell at vanderbilt.edu
Tue Dec 18 15:23:55 CET 2012


Hi David,

I'm always working on a second edition :-)      Making more progress now and
hope to submit to publisher in April.
Frank

David Winsemius wrote
> On Dec 17, 2012, at 7:30 PM, Frank Harrell wrote:
> 
>> In http://biostat.mc.vanderbilt.edu/RmS see the section marked "R Code". 
>> The
>> zip file there doesn't contain code for all of the book yet; I will be
>> adding code for the rest of the chapters in the next  few months. 
> 
> Are you working on a second edition, Frank? Or is one out already and I'm
> just behind the times?
> 
> -- 
> David.
> 
>> 
>> Frank
>> 
>> 
>> stephenb wrote
>>> I have used the errata from there, but have not found where to download
>>> working R code from.
>>> 
>>> Stephen 
>>> 
>>> -----Original Message-----
>>> From: Sarah Goslee [mailto:
>> 
>>> sarah.goslee@
>> 
>>> ] 
>>> Sent: Monday, December 17, 2012 4:22 PM
>>> To: Bond, Stephen
>>> Cc: 
>> 
>>> r-help@
>> 
>>> Subject: Re: [R] rms R code
>>> 
>>> Did you try the website for the book?
>>> 
>>> http://biostat.mc.vanderbilt.edu/wiki/Main/RmS
>>> 
>>> 
>>> 
>>> On Mon, Dec 17, 2012 at 4:06 PM, Bond, Stephen <
>> 
>>> Stephen.Bond@
>> 
>>> > wrote:
>>>> Greetings, useRs.
>>>> 
>>>> Does anybody have replication of the examples from the RMS book by
>>>> Harrell coded in R? I find that most the code does not work and it
>>>> takes
>>>> too much time to debug.
>>>> 
>>>> For example from p.276
>>>>> age.t <- w[,"age"]
>>>>> f.full <-
>>>>> lrm(cvd~scored(rx)+rcs(dtime,5)+age.t+wt.t+pf.t+hx+sbp+ekg.t+sz.t+sg.t+ap.t+bm+hg.t,x=T,y=T)
>>>> Error in model.frame.default(formula = cvd ~ scored(rx) + rcs(dtime, 5)
>>>> + 
>>>> :
>>>>  invalid type (list) for variable 'age.t'
>>>> 
>>>> thanks everybody.
>>>> 
>>>> Stephen
>>>> 
>>> --
>>> Sarah Goslee
>>> http://www.functionaldiversity.org
>>> 
>>> ______________________________________________
>> 
>>> 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/rms-R-code-tp4653376p4653400.html
>> Sent from the R help mailing list archive at Nabble.com.
>> 
>> ______________________________________________
>> 

> 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.
> 
> David Winsemius
> Alameda, CA, USA
> 
> ______________________________________________

> 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/rms-R-code-tp4653376p4653430.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list