Erich Striessnig (IIASA)
2011-Jan-31 15:24 UTC
[R] Changing significant codes in mtable {memisc}
Dear R-users! I've been trying to produce tables from glm-results using mtable from the memsic package but I'm not quite happy with the default of signif.codes in R. What I want to do is to change this line: Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 to that line: Signif. codes: 0 ‘***’ 0.01 ‘**’ 0.05 ‘*’ 0.01 ‘ ’ 1. So following an older post at https://stat.ethz.ch/pipermail/r-help/2004-November/061283.html I tried to recode the significance stars inside the printCoefmat() function that is called by getSummary() inside mtable(). Yet, although a normal lmtest does now show the sign.codes the way I want them, mtable() still shows them the old way. Here is an example of what I'm trying to do: http://www.iiasa.ac.at/~striess/mtable_help.r I'm sorry I couldn't make it any shorter: Cheers, Erich [[alternative HTML version deleted]]