powered by
Shows the variable label, factor levels (i.e., value labels) and frequency distribution for the specified variable.
inspect(data, x, includeLabels = FALSE, ...)
A data frame of class data.frame or tbl_df.
data.frame
tbl_df
A string identifying the name of the variable to be inspected.
Logical indicating whether value labels should also be included.
Other arguments to be passed down, currently unimplemented.
A list with a variable label (if present), factor levels/value labels (if present) and a frequency distribution
# NOT RUN { data(france) inspect(france, "vote") # }
Run the code above in your browser using DataLab