-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
documentation of summary.coxph.penal()$coefficients
and consistency with summary.coxph()$coefficients
#293
Comments
The print function for coxph.penal objects with a pspline or frailty term is special, but summary is, by design, the same for the two of them. The underlying definition of print (original Statistical Models in S book) is a 'short' and summary a 'longer' printout of the fit, and I am consistent with that. What I suspect you are actually asking for is for summary.coxph to include another element, which contains the shorter output of print? The summary.survfit function does this: it includes a "table" component with the results shown in print.survfit. It's a reasonable request, and I'll add it to the list. But be forewarned that the request list is long. I need to learn a way to copy a pull request down to my test machine, create a test copy of survival, and run R CMD check, BEFORE accepting any changes. You would be surprised to learn how often innocuous changes have unforseen consequences in one of the 890 reverse dependencies. |
summary.coxph.penal()$coefficient
and consistency with summary.coxph()$coefficient
summary.coxph.penal()$coefficients
and consistency with summary.coxph()$coefficients
Sorry, my first post was misleading because there was a typo (now fixed): the commands in the examples were not
My point is that both
No, this is not what I meant. I was suggesting:
|
?summary.coxph
says:And as documented:
But there is no
?summary.coxph.penal
(it "redirects" to?coxph
) and thecoefficients
matrix is different:It would be useful to document
summary.coxph.penal()$coefficients
(and other possible differences withsummary.coxph()
) and add exp(coef) in the matrix.The text was updated successfully, but these errors were encountered: