Description Usage Arguments Value
Convert a matrix to a data frame with columns time, location, and one more containing the elements of the input matrix.
1 | matrix_to_df(mat, name, locations = NULL, times = NULL)
|
mat |
A matrix. |
name |
The name of the third column in the output matrix. |
locations |
If not |
times |
If not |
A matrix with columns time, location, name, where name
is specified in the input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.