Extract and return a data frame with the columns that include only numeric values

nums(data)

Arguments

data

The input data frame, matrix

Value

This function returns a data frame with the numeric columns of the input dataset.

Examples

nums(city_data)
#> Error in as.data.frame(data): object 'city_data' not found