util_table_rotator function

Rotate 1-row data frames to key-value data frames

Rotate 1-row data frames to key-value data frames

if nrow(tb) > 1, util_table_rotator just returns tb.

util_table_rotator(tb)

Arguments

  • tb: data.frame a data frame

Returns

data.frame but transposed

  • Maintainer: Stephan Struckmann
  • License: BSD_2_clause + file LICENSE
  • Last published: 2025-03-05