get_non_numerics: Gets all non-numerics of a vector

Description Usage Arguments Value Note

View source: R/get-non-numerics.R

Description

returns a subvector containing all entries that will go to NA when you as.numeric; useful for tabbing

Usage

1

Arguments

x

a character vector

Value

x[is.na(as.numeric(x))]

Note

It might be just as easy to do x


rdisalv2/dismisc documentation built on March 19, 2018, 9:12 a.m.