itiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Aggregation matrix of a balanced hierarchy in (possibly) unbalanced form — unbalance_hierarchy"><meta property="og:description" content="A hierarchy with \(L\) upper levels is said to be balanced if each variable at level
\(l\) has at least one child at level \(l+1\). When this doesn't hold, the
hierarchy is unbalanced.
This function tr