do_reshape_wide: Reshape from Long to Wide

View source: R/reshape-wide.R

do_reshape_wideR Documentation

Reshape from Long to Wide

Description

Reshape the dataset from long format to wide format.

Usage

do_reshape_wide(dt = NULL, respec = NULL)

Arguments

dt

Dataset to be reshaped

respec

Reshape specification with id and value variables. This is the output from get_reshape_wide_spec()

See Also

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


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