hasdata: has data removes NA, empty strings and non-finite values from...

Description Usage Arguments Value

View source: R/utilities.R

Description

has data removes NA, empty strings and non-finite values from a vector

Usage

1
hasdata(x, return.index = F)

Arguments

x

vector

return.index

if true, returns indices of the vector that have valid data. Defaults to FALSE.

Value

returns the values of the input vector that contain valid data


ellieallien/cleaninginspectoR documentation built on July 18, 2019, 12:30 p.m.