as.data.table.array: Convert array to data.table

Description Usage Arguments Value Note

View source: R/data.table.R

Description

Convert array to data.table

Usage

1
2
## S3 method for class 'array'
as.data.table(x, keep.rownames = FALSE, na.rm = TRUE, ...)

Arguments

x

array

keep.rownames

ignored

na.rm

logical default TRUE, NA value of a measure is not included into resulting data.table

...

ignored

Value

A data.table object with (by default) non-NA values of a measure for each dimension cross.

Note

Array should not have a dimension named value because this name will be used for a measure in data.table.


jangorecki/data.cube documentation built on Aug. 22, 2019, 4:15 p.m.