Specify the nesting structure for units

nested_in(.unit, ..., .vname)

Arguments

.unit

The name of the parent unit to nest under.

...

a single number OR a sequence of two-sided formula where the left-hand side corresponds to the name of the level (or the level number) of .unit and the right-hand side is an integer specifying the number of levels nested under the corresponding levels.

.vname

the child variable name

Value

Returns an isolated graph

See also

See set_units() for examples of how to use this.