create_regular_org: Create a symmetrical organisation

Description Usage Arguments Value Examples

Description

Create an organisation where each unit has a specified number of child units up until a maximum depth.

Usage

1
create_regular_org(n_children = 4, max_depth = 3)

Arguments

n_children

integer defining the number of children each node should have

max_depth

the maximum depth of the organisation

Value

tidygraph object

Examples

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)

ukgovdatascience/orgsurveyr documentation built on May 4, 2019, 7:41 p.m.