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

View source: R/matrix.R

matrixes_same_colsR Documentation

Check if the passed entities are matrixes with the same number of columns

Description

Check if the passed entities are matrixes with the same number of columns

Usage

matrixes_same_cols(m1, m2)

Arguments

m1

The first matrix

m2

The second matrix

Examples

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

## End(Not run)


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