Learn R Programming

contrastable (version 1.0.2)

.is_valid_contrmat: Check if valid contrast

Description

Sometimes a user might pass a matrix that can't actually be used, in which case we can avoid some calculations by stopping earlier.

Usage

.is_valid_contrmat(contrast_matrix)

Value

invisibly returns TRUE if the contrast matrix is valid

Arguments

contrast_matrix

Contrast matrix