standardize_is_data_empty: Checks if all elements in vector(s) are either "", NA, NULL...

View source: R/0_is_x_empty.r

standardize_is_data_emptyR Documentation

Checks if all elements in vector(s) are either "", NA, NULL or have zero length

Description

Checks if all elements in vector(s) are either "", NA, NULL or have zero length

Usage

standardize_is_data_empty(x, return_as_true_if_x_zero_length = FALSE)

Arguments

x

input data to check each vector

return_as_true_if_x_zero_length

how to interpret zero lenth input. If TRUE then it returns TRUE. Otherwise NULL.

Value

logical vector of the same length


stasvlasov/nstandr documentation built on July 27, 2023, 10:29 p.m.