Transform variable to long format
Usage
transform_to_long(data, variable)
Arguments
- data
Dataset that contains variable to be transformed.
- variable
Variable to be transformed to long format.
Value
Tibble with input variable transformed to a long format.