Data on a product carries one of these columns per axis.

product_keys(x)

Arguments

x

A ScaleProduct.

Value

A named character vector, axis -> column name.

Examples

product_keys(scale_product(a = scale_example(), b = scale_example2()))
#>        a        b 
#>   "unit" "period"