Skip to contents

make_descv_stats_tbl() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make descriptive statistics table. The function returns Descriptive statistics table (a tibble).

Usage

make_descv_stats_tbl(
  data_tb,
  key_var_nm_1L_chr = "round",
  key_var_vals_chr = NULL,
  variable_nms_chr,
  dictionary_tb = NULL,
  test_1L_lgl = F,
  sections_as_row_1L_lgl = F,
  nbr_of_digits_1L_int = NA_integer_
)

Arguments

data_tb

Data (a tibble)

key_var_nm_1L_chr

Key variable name (a character vector of length one), Default: 'round'

key_var_vals_chr

Key variable values (a character vector), Default: NULL

variable_nms_chr

Variable names (a character vector)

dictionary_tb

Dictionary (a tibble), Default: NULL

test_1L_lgl

Test (a logical vector of length one), Default: F

sections_as_row_1L_lgl

Sections as row (a logical vector of length one), Default: F

nbr_of_digits_1L_int

Number of digits (an integer vector of length one), Default: NA

Value

Descriptive statistics table (a tibble)