Learn R Programming

naniar (version 1.0.0)

is_shade: Detect if this is a shade

Description

This tells us if this column is a shade

Usage

is_shade(x)

are_shade(x)

any_shade(x)

Value

logical - is this a shade?

Arguments

x

a vector you want to test if is a shade

Examples

Run this code

xs <- shade(c(NA, 1, 2, "3"))

is_shade(xs)
are_shade(xs)
any_shade(xs)

aq_s <- as_shadow(airquality)

is_shade(aq_s)
are_shade(aq_s)
any_shade(aq_s)
any_shade(airquality)


Run the code above in your browser using DataLab