inspect: Inspect a Variable in a Data Frame

Description Usage Arguments Value Author(s) Examples

Description

Shows the variable label, factor levels (i.e., value labels) and frequency distribution for the specified variable.

Usage

1
inspect(data, x, includeLabels = FALSE, ...)

Arguments

data

A data frame of class data.frame or tbl_df.

x

A string identifying the name of the variable to be inspected.

includeLabels

Logical indicating whether value labels should also be included.

...

Other arguments to be passed down, currently unimplemented.

Value

A list with a variable label (if present), factor levels/value labels (if present) and a frequency distribution

Author(s)

Dave Armstrong

Examples

1
2

DAMisc documentation built on Jan. 12, 2022, 1:07 a.m.