codebook {mStats}R Documentation

Describe the data

Description

codebook() examines the variable names, labels, and data to produce a codebook for describing the dataset

Usage

codebook(data)

Arguments

data

data.frame

Details

It reports a description of the data with the following information.

ANNOTATIONS:

No = serial number

Variable = variable name

Label = variable label

Type = type of variable

Obs = number of valid observations

NA = number of observations with missing value NA

Value

a data.frame containing the codebook

Note

For haven_labelled data.frame, data types are generated using typeof().

Author(s)

Email: dr.myominnoo@gmail.com

Website: https://myominnoo.github.io/

Examples


codebook(infert)
codebook(iris)
codebook(mtcars)


[Package mStats version 3.4.0 Index]