add_root: Add Root for hierarchical dataframe

Description Usage Arguments Examples

View source: R/builder.R

Description

Lays foundation for hierarchical dataframe used for use with hp_dataframe().

Usage

1
add_root(.data, root, attribute = NULL)

Arguments

.data

Dataframe to construct hierarchical dataframe from (source data).

root

Value to display as root.

attribute

Values to tag root (i.e. top level) plane with.

Examples

1
os_survey %>% add_root("OS Students 2014/15")

r4fun/hierplane documentation built on Aug. 1, 2020, 9:48 a.m.