Description Usage Arguments Value Examples
Create matrices laying out the data in rows, similar to
matrix(..., byrow = TRUE)
, with a nicer-to-read syntax.
This is useful for small matrices, e.g. covariance matrices, where readability
is important. The syntax is inspired by tribble()
.
1 |
... |
Arguments specifying the structure of a |
A matrix.
1 2 3 4 5 | frame_matrix(
~col1, ~col2,
1, 3,
5, 2
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.