Thanks for this packages. It’s quite useful. I am wondering if there is any easy way to show that you want the exp(coef) rather then coefficient, which you might often want for cox models. I couldn’t see anything in the documentation of mtable that would let you do this.

]]>I totally agree that learning a strictly functional language (in my case Haskell but maybe books on Lisp are better) can help a hell of a lot with R. Still, one can overdo a good thing. There is so much to learn and so litte time…

+1 ]]>

Thank you again, this function saved A LOT of time for me.

]]>First of all, thank you for the script. I do have a quick question about your calculation of the p-values. I was trying to debug why I was getting strange output tables on my results and was wondering if I am making a mistake.

As you calculate it, the normal does not take the absolute value of the t-value , and therefore gives you strange results when the initial model produces negative t-values.

In particular I mean this part:

p <- (1 – pnorm(smry@coefs[, 3])) * 2

Am I missing something?

Thank you,

Christoph