Description Usage Arguments Examples
View source: R/define_hierarchy.R
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().
1 2 3 4 | define_hierarchy()
## Default S3 method:
define_hierarchy(layer1 = NULL, layer2 = NULL, layer3 = NULL)
|
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. |
1 | define_hierarchy(layer1 = "NACE_section", layer2 = "NACE_divison", layer3 = "NACE_group")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.