dot-is_valid_contrmat function

Check if valid contrast

Check if valid contrast

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

.is_valid_contrmat(contrast_matrix)

Arguments

  • contrast_matrix: Contrast matrix

Returns

invisibly returns TRUE if the contrast matrix is valid

  • Maintainer: Thomas Sostarics
  • License: MIT + file LICENSE
  • Last published: 2024-10-01