Skip to contents

Checks if the dispersion matrix has the correct dimensions.

Usage

is_dispersionMatrixValid(matx_dispersion, matx_bool_replication)

Arguments

matx_dispersion

Replication matrix

matx_bool_replication

Replication matrix

Value

TRUE if the dimensions are valid, FALSE otherwise

Examples

matx_dispersion <- matrix(1:12, nrow = 3, ncol = 4)
matx_bool_replication <- matrix(TRUE, nrow = 3, ncol = 4)
is_dispersionMatrixValid(matx_dispersion, matx_bool_replication)
#> [1] TRUE