gather_array: Gather Multidimensional Array to Tidy Tibble

Description Usage Arguments Value See Also Examples

View source: R/array_munging.R

Description

Gather Multidimensional Array to Tidy Tibble

Usage

1
gather_array(a, value, ..., .id = NULL)

Arguments

a

multidimensional array

value

unquoted name of column with values (defaults to "var")

...

unquoted dimension names (defaults to "dim_1", "dim_2", etc...)

.id

if specified, name for column created with name of a captured

Value

data.frame

See Also

spread_array

Examples

1
2
a <- array(1:100, dim =c(10, 5, 2))
gather_array(a, sequence, A, B, C)

jsilve24/driver documentation built on Jan. 30, 2022, 12:07 p.m.