descsto {estout}R Documentation

Descriptive Storage

Description

descsto stores the descriptive statistics of the summary command of data.frames and single vectors of a variable into the list object "dcl".

Usage

descsto(x,row=NULL,name=NULL,drop.row=NULL)

Arguments

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. "\)".

Value

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

Author(s)

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

See Also

desctab,eststo,esttab, estclear

Examples

## 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)

[Package estout version 1.0-1 Index]