do_reshape: Reshape from Wide to Long

View source: R/reshape.R

do_reshapeR Documentation

Reshape from Wide to Long

Description

Reshape the dataset from wide format to long format.

Usage

do_reshape(dt = NULL, respec = NULL)

Arguments

dt

Dataset to be reshaped

respec

Reshape specification with id, measure and ⁠reshape type⁠ variables. This is the output from get_reshape_id_val()

See Also

Other reshape functions: do_reshape_long(), do_reshape_rename_col(), do_reshape_wide(), get_reshape_id_val(), get_reshape_wide_spec()


helseprofil/orgdata documentation built on Feb. 3, 2025, 4:55 p.m.