Learn R Programming

estout (version 1.2)

descsto: 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,store="default")

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. \).
store
Define specific storage units for multiple tables. Each unit holds one set of data for one output table.

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

See Also

desctab,eststo,esttab, estclear

Examples

Run this code
## Not run: 
# B <- read.table("../data/bwght.tab",header=TRUE)
# C <- read.table("../data/lala.tab",header=TRUE)
# attach(B)
# 
# descsto(B)
# descsto(cigs,name="cigarettes")
# descsto(faminc,name="faminc",row=2)
# descsto(store="tabC")
# ## End(Not run)

Run the code above in your browser using DataLab