| list_cats {lares} | R 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)
[Package lares version 5.2.8 Index]