# frame_matrix

From tibble v1.4.2
by Kirill Müller

##### Row-wise matrix creation

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()`

.

##### Usage

`frame_matrix(...)`

##### Arguments

- ...
Arguments specifying the structure of a

`frame_matrix`

. Column names should be formulas, and may only appear before the data.

##### Value

A matrix.

##### Examples

`library(tibble)`

```
# NOT RUN {
frame_matrix(
~col1, ~col2,
1, 3,
5, 2
)
# }
```

*Documentation reproduced from package tibble, version 1.4.2, License: MIT + file LICENSE*

### Community examples

Looks like there are no examples yet.