list_cats: List categorical values for data.frame

View source: R/other_functions.R

list_catsR Documentation

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?

Value

List. Length same as number of categorical columns, each with a frequency data.frame using freqs().

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), font_exists(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), listfiles(), mail_send(), markdown2df(), move_files(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), warnifnot(), what_size()

Examples

data(dft) # Titanic dataset
df <- dft[, 1:5]
head(df)
list_cats(df)

lares documentation built on Sept. 13, 2024, 1:08 a.m.