Pivot a crosstable so the label column is swapped with the by row. This requires the variable column to be the same for every data column, like when all columns are numeric of when all columns are factors with the same levels
transpose_crosstable(x)## S3 method for class 'crosstable't(x)