Learn R Programming

gtsummary (version 1.2.0)

select_helpers: Select helper functions

Description

Set of functions to supplement the tidyselect set of functions for selecting columns of data frames. all_continuous(), all_categorical(), and all_dichotomous() may only be used with tbl_summary(), where each variable has been classified into one of these three groups. All other helpers are available throughout the package.

Usage

all_numeric()

all_character()

all_integer()

all_double()

all_logical()

all_factor()

all_continuous()

all_categorical(dichotomous = TRUE)

all_dichotomous()

Arguments

dichotomous

Logical indicating whether to include dichotomous variables. Default is TRUE

Value

A character vector of column names selected