note: for non-binary data, all values other than the true_level will be set to false
# S3 method for data.frame
set_lgl(.data, ..., true_level = 1L)
set_lgl(.data, ..., true_level = 1L)
# S3 method for default
set_lgl(.data, ...)
# S3 method for numeric
set_lgl(.data, ..., true_level = 1L)
# S3 method for character
set_lgl(.data, ..., true_level = c("T", "TRUE"))
dataframe
tidyselect. Default selection: none
specify the value to set as TRUE. Default value is 1 for seamless conversion between logicals and integers. Can be given as a vector of values.
dataframe