View source: R/array_to_dataframe.R
array_to_df | R Documentation |
Long format from Array
array_to_df(a, r)
a |
Array of the form p x p x m |
r |
optional scale vector used in computation |
The functions in this package return arrays of dimensions p x p x m, where p = number of types, m = number of scales. This function turns this such arrays into data frames with columns (i, j, r, v). If 'r' is provided, the 'r' in the output should match. Otherwise, output 'r' is the index.
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.