Excellent!

Yes, FH has a function to get LateX tables, but I not malleable enough.

Thanks,

 David Biau.




________________________________
De : David Winsemius <dwinsemius@comcast.net>

Cc : r help list <r-help@r-project.org>
Envoyé le : Jeu 5 août 2010, 22h 11min 20s
Objet : Re: [R] How to extract se(coef) from cph?


On Aug 5, 2010, at 4:03 PM, Biau David wrote:

> Hello,
> 
> I am modeling some survival data wih cph (Design). I have modeled a predictor
> which showed non linear effect with restricted cubic splines. I would like to
> retrieve the se(coef) for other, linear, predictors.

The cph object has a "var". The vcov function is an extractor function. You
would probably be using something like:

diag(vcov(fit))^(1/2)

> This is just to make nice
> LateX tables automatically.

Are you sure Frank has not already programed that for you somewhere? Perhaps 
latex.cph?

> I have the coefficients with coef().
> 
> How do I do that?
> 
> Thanks,
> 
> David Biau.
> 

--
David Winsemius, MD
West Hartford, CT


      
	[[alternative HTML version deleted]]

