[R] svycoxph

Nathan Pace n.l.pace at utah.edu
Tue Dec 24 04:41:35 CET 2013


Answered my own question.

In survey, summary does it.

On 2312//2013, 5:31 PM, "Nathan Pace" <n.l.pace at utah.edu> wrote:

>
>>The svycoxph function in the survey package loads the survival package
>>and
>>produces objects of class svycoxph and coxph.
>>
>>The print.coxph function - print(coxph.object, conf.int = 0.95) - in the
>>survival package lists the values of the coxph object including the
>>hazard
>>ratios with 95% CIs.
>>
>>When applied to svycoxph/coxph objects, print(svycoxph.object, conf.int =
>>0.95) does not list the 95% CIs.
>>
>>Using the call print.coxph(svycoxph.object, conf.int = 0.95) returns the
>>error that print.coxph can¹t be found.
>>
>>I have tried various arguments in print(predict(svycoxph.object, se = T,
>>type = ?)), but without returning the CIs.
>>
>>Any suggestions on the correct syntax will be appreciated.
>>
>>Nathan
>>
>>-- 
>>Nathan Pace, MD, MStat
>>Department of Anesthesiology
>>University of Utah
>>801.581.6393
>>n.l.pace at utah.edu
>>
>>
>
>______________________________________________
>R-help at r-project.org 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.



More information about the R-help mailing list