mat_test
Example data for `MetNet`: unit tests
Bundled with MetNet · exported, loads via data()
One vector with a dim attribute. Everything in it shares a type, which is the difference between a matrix and a data.frame that happens to be all numeric. R object catalogue
Computed over every cell in the object, reading it as one vector.
The mean of each row, and of each column, summarised. Reading every cell as one vector gives a matrix and its transpose the same answer; these do not.
| Margin | Min. | 1st Qu. | Median | Mean | 3rd Qu. | Max. | Std. dev |
|---|---|---|---|---|---|---|---|
| Rows | 9.8304 | 9.9029 | 10.019 | 10.126 | 10.359 | 10.508 | 0.28528 |
| Columns | 9.511 | 9.8971 | 10.035 | 10.126 | 10.27 | 10.872 | 0.36241 |
The row means and the column means vary by a similar amount, so neither margin carries the structure on its own.
| Margin | Labels | Count |
|---|---|---|
| Rows | x1, x2, x3, x4, x5, x6, x7 | 7 |
This object is 20 columns wide. A matrix carries no per-column schema, so its width is what the catalogue records and there is nothing to list one column at a time. What it holds is described whole instead, summarised over every cell: see Values and Margins above.
15 other datasets carry the same structure fingerprint. That fingerprint is a digest of the column names and their types, and a matrix carries neither, so on one it comes down to the width and the type held: a match is another object of 20 columns holding the same type rather than one with the same columns. The datasets are not listed, because that is not a list of anything this one is related to.
| Version | Released | Rows × Cols | Change | Stored as | Confidence |
|---|---|---|---|---|---|
| 3.23 | 2026-04-28 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.22 | 2025-10-29 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.21 | 2025-10-10 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.20 | 2024-10-29 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.19 | 2024-04-30 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.18 | 2023-10-24 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.17 | 2023-04-25 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.16 | 2022-11-01 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.15 | 2022-04-26 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.14 | 2022-04-09 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.13 | 2021-05-19 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.12 | 2020-10-27 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.11 | 2020-04-27 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.10 | 2020-03-07 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.9 | 2019-05-02 | 7 × 20 | Unchanged | rda · gzip version 2 · 2.3 KB | exact |
| 3.8 | 2019-01-04 | 7 × 20 | – | rda · gzip version 2 · 2.3 KB | exact |