Re: [R] error fitting coxph model

2012-05-03 Thread Jessica Myers
. Thanks, Jessica On May 3, 2012, at 10:00 AM, David Winsemius wrote: On May 2, 2012, at 3:02 PM, Jessica Myers wrote: Hi, I am using coxph from the survival package to fit a large model (100,000 observations, ~35 covariates) using both ridge regression (on binary covariates) and penalized

[R] error fitting coxph model

2012-05-02 Thread Jessica Myers
that I'm using has almost everyone having an event (~98,000 events out of 100,000). I have fit other models like this with no problem, but on one particular dataset it fails. Thanks! Jessica Myers Instructor in Medicine Brigham and Women's Hospital The information in this e-mail is intended

[R] treatment of factors and errors in ridge() function with coxph

2011-04-27 Thread Jessica Myers
. Any help with these problems would be greatly appreciated! Thanks, Jessica Myers Instructor in Medicine Division of Pharmacoepidemiology Brigham and Women's Hospital The information in this e-mail is intended only for the ...{{dropped:7}} __ R-help@r

[R] passing a vector of variable names to the ... pairlist function argument

2011-04-21 Thread Jessica Myers
by the function, rather than the object names. For example, x1 - 1:4 x2 - 2:5 x3 - 3:6 xs - c(x1, x2, x3) If I wanted to cbind(x1, x2, x3) without typing this out, how would I do it? Thanks very much! Jessica Myers Instructor in Medicine Division of Pharmacoepidemiology Brigham and Women's

Re: [R] passing a vector of variable names to the ... pairlist function argument

2011-04-21 Thread Jessica Myers
Thanks - your last suggestion does seem to work with the ridge function, but the names of the objects get lost in the process. Is there a way to keep the object names with get? Thanks, Jessica Myers On Apr 21, 2011, at 11:00 AM, Uwe Ligges wrote: On 21.04.2011 16:03, Jessica Myers