Learn R Programming

lares (version 4.8.4)

list_cats: List categorical values for data.frame

Description

Make a list with all categorical values and

Usage

list_cats(df, ..., abc = TRUE)

Arguments

df

data.frame

...

Variables to segment counters

abc

Boolean. Sort alphabetically?

Examples

Run this code
# NOT RUN {
data(dft) # Titanic dataset
df <- dft[,1:5]
head(df)
list_cats(df)
# }

Run the code above in your browser using DataLab