A product has no weights of its own: the weight of a product atom is the product of its components' weights, which is derived when needed and never stored.

product_weights(x)

Arguments

x

A ScaleProduct.

Value

A named list of character vectors.

Examples

product_weights(scale_product(a = scale_example(), b = scale_example2()))
#> $a
#> [1] "size"  "count"
#> 
#> $b
#> [1] "span"
#>