Description Usage Arguments Value Examples
Create an organisation where each unit has a specified number of child units up until a maximum depth.
1 | create_regular_org(n_children = 4, max_depth = 3)
|
n_children |
integer defining the number of children each node should have |
max_depth |
the maximum depth of the organisation |
tidygraph object
1 2 3 4 5 6 7 8 | set.seed(1234)
tg1a <- create_regular_org(n_children=4, max_depth=3)
tg1a
## Not run:
plot_org(tg1a, fill_var=NULL)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.