Learn R Programming

estout (version 0.6-1)

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)

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

Value

  • The list object 'dcl' is returned.
  • comp1variables stored
  • comp2variable name, 1st Qu., 2nd Qu., Median, Mean, 3rd Qu., 4th Qu., Missing Values
  • comp3estimate, std.err., t-value, p-value

See Also

desctab,eststo,esttab, estclear

Examples

Run this code
B <- read.table("../data/bwght.tab",header=TRUE)
attach(B)

descsto(B)
descsto(cigs,name="cigarettes")
descsto(faminc,name="faminc",row=2)

Run the code above in your browser using DataLab