descsto: Descriptive Storage

Description Usage Arguments Value Author(s) See Also Examples

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

1
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

Author(s)

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

See Also

desctab,eststo,esttab, estclear

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

estout documentation built on May 1, 2019, 10:31 p.m.

Related to descsto in estout...