select_non_numeric_cols {tidySummaries} | R Documentation |
Select Non-Numeric Columns
Description
Returns a tibble with only the non-numeric columns of the input, and optionally drops rows with NAs.
Usage
select_non_numeric_cols(dataset, remove_na = FALSE)
Arguments
dataset |
A vector, matrix, data frame, or tibble. |
remove_na |
Logical. If TRUE, rows with any NA values will be dropped. Default is FALSE. |
Value
A tibble with only non-numeric columns.
Examples
select_non_numeric_cols(iris)
df <- tibble::tibble(a = 1:6, b = c("x", "y", NA, NA, "z", NA))
select_non_numeric_cols(df, remove_na = TRUE)
[Package tidySummaries version 0.1.0 Index]