View source: R/select_numeric_cols.R
select_numeric_cols | R Documentation |
Returns a tibble with only the numeric columns of the input, and optionally drops rows with NAs.
select_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 numeric columns.
select_numeric_cols(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.