Skip to content
Prev 51249 / 63435 Next

Puzzled by eval

Duncan,
   That's helpful.  Two follow-up questions:
1. Where would I have found this information?  I had looked at eval and model.frame.
2. What stops the following code from falling down the same rabbit hole?  Shouldn't it 
find base::cos first?

    library(survival)
    cos <- lung
    coxph(Surv(time, status) ~ age, data=cos)

Terry T.
On 11/06/2015 07:51 AM, Duncan Murdoch wrote: