define_hierarchy: Define Hierarchical Structures

Description Usage Arguments Examples

View source: R/define_hierarchy.R

Description

Up to three layers can be defined in order to address hierarchical structures of the data. By default it is assumed that no hierarchies are present and the tick box "Break-up. The defined layers are passed to the shiny application ScattR and appear by selecting "Break Up Hierarchy" is without effect. It is recommended to arrange multiple layers in a logical structure such that a lower layer can be deduced from a higher layer.

Reset the hierarchy definition with define_hierarchy().

Usage

1
2
3
4
define_hierarchy()

## Default S3 method:
define_hierarchy(layer1 = NULL, layer2 = NULL, layer3 = NULL)

Arguments

layer1

A character value. Represents the first (highest) level of the hierarchy.

layer2

A character value. Represents the second level of the hierarchy.

layer3

A character value. Represents the third level of the hierarchy.

Examples

1
define_hierarchy(layer1 = "NACE_section", layer2 = "NACE_divison", layer3 = "NACE_group")

philippleppert/scattr documentation built on Nov. 9, 2020, 12:21 p.m.