cb: Codebook

Description Usage Arguments Value Examples

View source: R/cb.R

Description

'cb' provides summary statistics of a data frame, just like the 'codebook, compact' command in Stata.

Usage

1
cb(df)

Arguments

df

'df' should be a data frame.

Value

'cb(df)' returns a data frame.

Examples

1
2
3
library(dplyr)
abdata = haven::read_dta("http://www.stata-press.com/data/r13/abdata.dta")
cb(nlsw88)

jjchern/meda documentation built on May 19, 2019, 11:38 a.m.