Immediate parent-child table between two frames
scale_family(x, parent = NULL, child = NULL)A NestedScale.
Frame names. Defaults to every adjacent pair in
x@frames.
A data.frame with columns parent_frame, parent, child_frame,
child. Atoms unassigned at either frame are omitted.
s <- scale_example()
scale_family(s, "group", "unit")
#> parent_frame parent child_frame child
#> 1 group G1 unit U1
#> 2 group G1 unit U2
#> 3 group GB unit U3
#> 4 group GB unit U4
#> 5 group GB unit U5
#> 6 group GC unit U6