descsto {estout} | R Documentation |
descsto stores the descriptive statistics of the summary command of data.frames and single vectors of a variable into the list object "dcl".
descsto(x,row=NULL,name=NULL,drop.row=NULL)
x |
Either a data.frame of observations or a single vector. |
name |
Mandatory parameter in case you add a single vector. |
row |
Optional parameter. Using row= you can overwrite existing rows "dcl". |
drop.row |
Vector to remove rows from the output table. Note: Braces need to be escaped with a "\". E.g. "\)". |
The list object 'dcl' is returned.
comp1 |
variables stored |
comp2 |
variable name, 1st Qu., 2nd Qu., Median, Mean, 3rd Qu., 4th Qu., Missing Values |
comp3 |
estimate, std.err., t-value, p-value |
Felix Kaminsky fkamins@uni-goettingen.de inspired by estout for Stata.
desctab,eststo,esttab, estclear
## Not run: B <- read.table("../data/bwght.tab",header=TRUE) attach(B) descsto(B) descsto(cigs,name="cigarettes") descsto(faminc,name="faminc",row=2) ## End(Not run)