select_numeric_cols {tidySummaries} | R Documentation |
Select Numeric Columns
Description
Returns a tibble with only the numeric columns of the input, and optionally drops rows with NAs.
Usage
select_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 numeric columns.
Examples
select_numeric_cols(iris)
[Package tidySummaries version 0.1.0 Index]