hier_app {sdcHierarchies} | R Documentation |
Create/Modify hierarchies interactively
Description
This function starts the interactive shiny
-app
to (optionally) create and/or modify a nested hierarchy.
It is possible to supply a character vector from which the
hierarchy can be interactively built. Once this has been done,
it is possible to modify and export the resulting hierarchy.
Usage
hier_app(x = hier_create(), ...)
Arguments
x |
a character vector containing nested levels or
an object generated with |
... |
arguments (e.g |
Details
Another option is to supply an already existing hierarchy object. In this case, it is possible to modify the existing object in the app.
Value
The app can return a hierarchy object (either
a data.frame
or a tree-based object)
Examples
## Not run:
# start with an empty hierarchy
res <- hier_app()
# start with a character vector that is used to
build the hierarchy
codes <- c("11", "12", "21", "22", "23", "31", "32")
res <- hier_app(codes); print(res)
## End(Not run)
[Package sdcHierarchies version 0.21.0 Index]