Skip to contents

Functions to check if an object is an a11ytable, or coerce it if possible.

Usage

as_a11ytable(x)

is_a11ytable(x)

Arguments

x

A data.frame object to coerce.

Value

as_a11ytable returns an object of class a11ytable if possible. is_a11ytable returns TRUE if the object has class a11ytable, otherwise FALSE.

Examples

is_a11ytable(demo_a11ytable)
#> [1] TRUE