[R] passing a formula to coxph() along with a ...

2004-03-04 Thread Katki, Hormuzd (NIH/NCI)
Hello. I am making a program that allows a user to enter a formula to be used in coxph() and then does some other stuff to it, and also allows the user to set other options within coxph(). What is the proper way to pass a formula to a function along with a ...? I have a function: func

[R] What PRECISELY is the dfbetas() or lm.influence()$coef ?

2003-06-12 Thread Katki, Hormuzd (NIH/NCI)
Hello. I want to get the proper influence function for the glm coefficients in R. This is supposed to be inv(information)*(y-yhat)*x. So I am wondering what is the exact mathematical formula for the output that the functions: dfbeta() OR lm.influence()$coefficients return for a glm

[R] coxph.detail() documentation point

2003-06-05 Thread Katki, Hormuzd (NIH/NCI)
Hello, I'm using R 1.6.2's survival2.9-6 package, and I just thought I'd note that it took me a long time to realize that the coxph.detail()$hazard was a centered hazard (centered at the exponentiated average covariate times beta), not a baseline hazard. The documentation simply says "the