Learn R Programming

JWileymisc (version 1.4.1)

.allmissing: Determine which if any variables are all missing in a dataset

Description

Internal function.

Usage

.allmissing(data)

Value

FALSE if no variable(s) all missing, else an informative string message.

Arguments

data

A dataset to check each variable if all missing / non finite / zero character vectors

Examples

Run this code
JWileymisc:::.allmissing(mtcars)
cat(JWileymisc:::.allmissing(data.frame(a = NA, b = 1)), fill = TRUE)

Run the code above in your browser using DataLab