Skip to contents

Check if there are non-zero-values on the LHS of NAs

Usage

.check_lhs_not_only_zeros(mat)

Arguments

mat

Matrix to check

Value

Boolean indicating whether or not there are non-zero values on the LHS of the first NA (TRUE = has non-zeros, FALSE = only zeros)