array2df: Array to long-format data frame
Description
Organizes the information in an array with N dimensions into a
long-format data frame with N + 1 columns, where the last column
contains the values of the array.
Usage
array2df(arr, value_name = "value")
Arguments
- arr
An array of N-dimensiones
- value_name
Name for the column containing the values of the array.