View source: R/other_functions.R
list_cats | R Documentation |
Make a list with all categorical values and
list_cats(df, ..., abc = TRUE)
df |
data.frame |
... |
Variables to segment counters |
abc |
Boolean. Sort alphabetically? |
List. Length same as number of categorical columns, each with a
frequency data.frame using freqs()
.
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()
data(dft) # Titanic dataset
df <- dft[, 1:5]
head(df)
list_cats(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.