Get all descriptive tables

desc_tabs(
  data,
  yvars,
  groupvars,
  lang = c("eng", "ger")[1],
  xlsx_path = here::here("desctabs.xlsx"),
  xlsx_overwrite = FALSE,
  xlsx_open = FALSE,
  xlsx_data_sheet = TRUE
)

Arguments

data

Data object.

yvars

Column names of variables for which descriptive measures should be calculated.

groupvars

Column names of variables for which grouping should be done.

lang

Language for the result table column names.

xlsx_path

Path to where the excel file should be saved.

xlsx_overwrite

If TRUE, overwrites the previous excel file.

xlsx_open

If TRUE, opens the excel file after it was created.

xlsx_data_sheet

If TRUE, adds a excel sheet with the underyling data.