decomposeDF: Decompose a dataframe into the following representation: • a...

Description Usage Arguments Examples

Description

Decompose a dataframe into the following representation:

Usage

1

Arguments

df

The dataframe to decompose.

Examples

1
2
3
4
5
6
7
8
9
df <- tibble::tibble(
  a = factor(c("a", "a", "b"), levels = c("a", "b"), ordered = TRUE),
  b = c(TRUE, TRUE, FALSE),
  c = c(1,2,3)
 )

decomposeDF(df)

recomposeDF(decomposeDF(df))

eccc-cdo/SQLTypeR documentation built on March 23, 2020, 5:25 a.m.