matrixes_same_dims: Check if the passed entities are matrixes with the same...

View source: R/matrix.R

matrixes_same_dimsR Documentation

Check if the passed entities are matrixes with the same dimensionality

Description

Check if the passed entities are matrixes with the same dimensionality

Usage

matrixes_same_dims(m1, m2)

Arguments

m1

The first matrix

m2

The second matrix

Examples

## Not run: 
# For assertion
assertthat::assert_that(qscheck::matrixes_same_dims(m1, m2))
# For check
if (qscheck::matrixes_same_dims(m1, m2)) {}

## End(Not run)


AstraZeneca/qscheck documentation built on Nov. 1, 2023, 4:45 a.m.