Learn R Programming

epiDisplay (version 3.7.0.0)

Codebook: Codebook of a data frame

Description

Print description, summary statistics and one-way tabulation of variables

Usage

codebook(dataFrame)

Arguments

dataFrame

A data frame for printing the codebook

Author

Virasakdi Chongsuvivatwong cvirasak@gmail.com

Details

The default value of dataFrame (ie if no argument is supplied) is '.data'.

While 'summ' produces summary statistics of both numeric and factor variables, 'codebook' gives summary statistics of all numeric variables and one-way tabulation of all factors of the data frame.

See Also

'use', 'summ', 'tab1' and 'tableStack'

Examples

Run this code
data(Familydata)
codebook(Familydata)

Run the code above in your browser using DataLab