Learn R Programming

estout (version 0.7-1)

esttab: 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, stars = c(0.1, 0.05, 0.01),filename="estout",csv=FALSE,
sweave=FALSE, dcolumn=NULL, table="table", table.pos="htbp",caption.top=FALSE)

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
stars
to change the way the stars are calculated. The values must be given as a vector from largest to smallest p-value
filename
give an alternative filename, default is "estout.tex"
csv
for output to csv (comma separated textfile) for direct import to a spreadsheet program. The default is TeX-output.
sweave
if set to TRUE the esttab generates a tex-file and echoes '\input{filename}' for Sweave to process.
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.

See Also

eststo, estclear

Examples

Run this code
esttab(t.value=TRUE,round.dec=2,caption="Example Title",label="bwgth")

Run the code above in your browser using DataLab