get_variable_by_groups: Turn long data with subgroups into wide data.

Description Usage Arguments Value

View source: R/tools.R

Description

Turns data in a column "column" which is divided into groups by a column "group" into a tibble with a column for each group (each unique value in "group").

Usage

1

Arguments

data

A tibble containing the data.

column

Which column to use.

group

The column that parts the variable into subgroups.

id

A column holding ids to identify the same entity in each subgroup.

...

Further ids.

Value

list


randomchars42/eenv documentation built on May 20, 2019, 1:29 p.m.