[R] Formatting an anova table using latex

Michael Kubovy kubovy at virginia.edu
Mon Mar 13 23:25:06 CET 2006


Thanks Dieter,

Unfortunately this doesn't work.

rowname = NULL

suppresses row names altogether. I want to substitute different row  
names by writing

rownamesTexCmd = c('baR', 'addit', 'multip')

When I do this without writing rowname = NULL, my row names appear  
first, followed by the default row names from anova.

On Mar 13, 2006, at 12:34 PM, Dieter Menne wrote:

> Michael Kubovy <kubovy <at> virginia.edu> writes:
>
>> When I issue the command
>>
>> latex(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = 'raw1.tex',
>> rownamesTexCmd = c('baR', 'addit', 'multip'), longtable = F, dcolumn
>> = T, booktabs = T, t able.env = F, colheads = NULL, colnamesTexCmd  
>> = c
>> ('', 'df', 'aic', 'bic', 'logl', 'chisq', 'chisqdf', 'prchisq'))
> ...
>> Can you tell me how to suppress 'raw1.lmer0', 'raw1.lmer', and
>> 'raw1.lmerI' in the first column?
>
> rowname = NULL
>
> (note: it's not "rownames", which is a bit confusing)
>
> Dieter




More information about the R-help mailing list