Learn R Programming

apsrtable (version 0.5-3)

apsrtable: APSR-style latex tables with multiple models

Description

Produce well-formatted LaTeX tables of multiple models side-by-side.

Usage

apsrtable(..., 
                  se=c("robust","vcov","both"),
                  model.names	=NULL, model.counter=1,
                  digits=2, stars=1, lev=.05,
                  align=c("left","center","right"),
                  order=c("lr","rl","longest"),
                  omitcoef=NULL,
                  Sweave=FALSE, Minionfig=FALSE)

Arguments

...
One or more fitted model objects of a supported class such as lm or glm. The model-object (a list) may also optionally contain an item named se: model$se may be a vector of standard errors,
se
Print the default standard errors ("vcov"), or those supplied by the user ("robust") in the model, or both? In the case of "both", user-supplied errors are printed in (parentheses) and the default are printed in [square brackets.] If any model in ..
model.names
Optional vector of names to use as column headings in the table. If more models than names are supplied, unnamed models are numbered (starting at one more than the number of names).
model.counter
Change the number to start counting from when using automatically numbered models. Default = 1.
digits
Number of decimal places to report. Default = 2
stars
Show statistical significance "stars", either "1" or "default" where "default" is based on the output of summary.lm, except that a superscript dagger is used instead of a dot for $p < .10$. Here "default" means "the R default", not to be conf
lev
When stars is 1, what level should be used for the test to reject statistical insignificance and bestow the glittering star? Default=.05.
align
How should columns be aligned in the output? Model summaries are always decimal-aligned using Dcolumn (and therefore also set in math mode), but Dcolumn also provides for decimal-point centering. Model names are set in sp