get_numeric_char_field_names: Find columns which are numeric

Description Usage Arguments

View source: R/get_numeric_fields.r

Description

Get field names, or the data itself, of fields in a data frame which are numeric, or numeric-like characters.

Usage

1
2
3
4
5
get_numeric_char_field_names(x, invert = FALSE, attrition = 0.05)

get_numeric_field_names(x, invert = FALSE)

get_numeric_fields(x, invert = FALSE)

Arguments

x

Data frame

invert

Logical, if FALSE – the default – the numeric fields are returned, otherwise, non-numeric fields are returned.

attrition

If less than this proportion of rows become NA on conversion to numeric, then accept this is a numeric column after all.


jackwasey/jwutil documentation built on May 18, 2019, 7:58 a.m.