Learn R Programming

baselinenowcast (version 0.2.0)

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

Description

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

Usage

.check_lhs_not_only_zeros(mat)

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)

Arguments

mat

Matrix to check