This function recurses through a ShojiOrder/OrderGroup and removes any groups that contain no entities.

removeEmptyGroups(x)

Arguments

x

VariableOrder, DatasetOrder, VariableGroup, or DatasetGroup

Value

x with empty groups removed.