mat_test {MetNet} | R Documentation

## Example data for `MetNet`: unit tests

### Description

`mat_test` contains 7 toy features that were derived from `rnorm`. It will be used as an example data set in unit tests.

### Usage

    mat_test

### Format

`matrix`

### Value

`matrix`

### Author(s)

Thomas Naake, thomasnaake@googlemail.com

### Source

set.seed(1) random_numbers <- rnorm(140, mean = 10, sd = 2) mat_test <- matrix(random_numbers, nrow = 7) mat_test[1:3, ] <- t(apply(mat_test[1:3, ], 1, sort)) mat_test[5:7, ] <- t(apply(mat_test[5:7, ], 1, sort, decreasing = TRUE)) rownames(mat_test) <- paste("x", 1:7, sep = "")

[Package MetNet version 1.2.0 Index]