Axes of a product
scale_axes(x, axis = NULL)A ScaleProduct.
Optional single axis name, to get just that NestedScale.
A named list of NestedScale objects, or one NestedScale when axis is
given.
p <- scale_product(a = scale_example(), b = scale_example2())
names(scale_axes(p))
#> [1] "a" "b"
scale_axes(p, "a")
#> NestedScale: example
#> Description: Synthetic example: reused code, non-nesting frame pair, and an unassigned atom
#> Frames (4, coarsest first):
#> - sector (2) [1 unit unassigned]
#> - class (3) [1 unit unassigned]
#> - group (3) [1 unit unassigned]
#> - unit (7)
#> Atoms: 7
#> Weights: size, count (default: size)