View source: R/select_non_numeric_cols.R
select_non_numeric_cols | R Documentation |
Returns a tibble with only the non-numeric columns of the input, and optionally drops rows with NAs.
select_non_numeric_cols(dataset, remove_na = FALSE)
dataset |
A vector, matrix, data frame, or tibble. |
remove_na |
Logical. If TRUE, rows with any NA values will be dropped. Default is FALSE. |
A tibble with only non-numeric columns.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.