esttab {estout}R Documentation

Estimates Table

Description

Uses the data stored in the "ccl" object to create a formated table. The default is LaTeX but since version 0.5 export to CSV is possible. Therefore it is possible to import the output into a spreadsheet program and edit it for a wordprocessor.

Usage

esttab(t.value = FALSE, p.value = FALSE, round.dec = 3, caption = NULL, 
label = NULL, sig.levels = c(0.1, 0.05, 0.01), sig.sym=c("*","**","***"),
filename=NULL, csv=FALSE, dcolumn=NULL, table="table", 
table.pos="htbp", caption.top=FALSE, booktabs=FALSE,
var.order=NULL, sub.sections=NULL,var.rename=NULL)

Arguments

t.value if set to TRUE the table will contain t-values instead of the default standard errors
p.value if set to TRUE the table will contain p-values instead of the default standard errors
round.dec number of decimals to round to
caption to be used in the LaTeX output table
label to be used in the LaTeX output table
sig.levels to change the way the stars are calculated. The values must be given as a vector from largest to smallest p-value
sig.sym vector of symbols to depict significance levels in TeX-tables. Insert the TeX command between the "". The vector corresponds to the sig.levels vector. Please note that due to the cat command backslash needs to be inserted twice in order to appear in the TeX document. (e.g. "\α")
filename determins the filename of the output.Default is NULL, output is printed to screen.
csv for output to csv (comma separated textfile) for direct import to a spreadsheet program. The default is TeX-output.
dcolumn a string can be inserted that corresponds to a predefined column type in the TeX-document's head.
table a string for choosing a different table type like sideways or tablex.
table.pos for setting positioning parameters for table. For table-types that don't require these parameters insert 'NULL'.
caption.top if set to TRUE the caption will be inserted above the table.
booktabs if set to TRUE the \hline commands are replaced by there corresponding booktabs commands.
var.order by default the order of variables is determined by there appearance in the models. Providing a vector of variables here in a different order will change the order of variables in the output table. Note that '(Intercept)' is enclosed in braces.
sub.sections if one needs to subdivide the table in several sections using 'subtitles' this can be done here. Providing a vector of the form c(linenumber,"subtitle",2ndlinenumber,"2ndsubtitle") and so forth.
var.rename vector of names to replace variable abbreviations of model with real names. The vector has to looks like this: var.rename=c("old.name1","new.name1","old.name2","new.name2")

Author(s)

Felix Kaminsky fkamins@uni-goettingen.de inspired by estout for Stata.

See Also

eststo, estclear

Examples

## Not run: 
esttab(t.value=TRUE,round.dec=2,caption="Example Title",label="bwgth")
## End(Not run)

[Package estout version 1.0-1 Index]