Skip to contents

Predicate for the "hbsaems_check" base class. All pre-fit inspection functions in hbsaems (check_data, check_spatial_weight, check_shiny_deps) return an object that inherits from this class, enabling generic handling.

Usage

is.hbsaems_check(x)

Arguments

x

Any R object.

Value

A single logical.

Examples

chk <- check_data(data.frame(y = 1:5, x = 1:5),
                  response = "y", auxiliary = "x")
is.hbsaems_check(chk)              # TRUE
#> [1] TRUE
is.hbsaems_check("not a check")    # FALSE
#> [1] FALSE