unlist_by_row: Unlists the Values in a Rectangular Dataset by Row or Column

Description Usage Arguments Value Author(s) References Examples

View source: R/unlist_by_row.R

Description

Unlists the values in a rectangular dataset (like a matrix, data.frame, or data.table) by row.

Usage

1
2
3

Arguments

indt

The input dataset.

source

Logical. Should columns indicating the original row and column positions be returned. Defaults to TRUE.

Value

A data.table if source = TRUE or a vector.

Author(s)

Ananda Mahto

References

http://stackoverflow.com/q/36073947/1270695

Examples

1
2
3
4

mrdwab/SOfun documentation built on June 20, 2020, 6:15 p.m.