TabUnroll: TabUnroll

View source: R/basicf.r

TabUnrollR Documentation

TabUnroll

Description

Inspired by Yuri Wolf' tab_unroll.pl "Reads the table, unrolls the specified field into separate lines"

Usage

TabUnroll(dfdt, sep = ",", colnym = "mems", NewColNym = "values")

Arguments

dfdt

Input table to work on (data.frame or data.table)

sep

Delimiter to break the rolled field's cells with.

colnym

Field to unroll

NewColNym

A name for the field that will contain the unrolled values

Value

A data.frame.

See Also

stringi::stri_pad

Examples

TabUnroll

UriNeri/NeriMisc documentation built on Aug. 13, 2022, 4:37 p.m.