design-helpers {edibble}R Documentation

Test and get edibble objects

Description

The is functions tests if an object (or an object in its attribute) inherits particular class and returns TRUE if it does, otherwise FALSE.

The get functions extracts the requested edibble component (table, graph, or design) from the object if possible.

Usage

is_edibble_design(x)

is_named_design(x)

is_edibble_table(x)

is_edibble_graph(x)

is_edibble(x)

is_edibble_levels(x)

is_nest_levels(x)

is_cross_levels(x)

edbl_design(x)

edbl_table(x)

Arguments

x

An object.

Value

A logical value.

Examples

is_edibble_design(takeout())

[Package edibble version 0.1.2 Index]