Learn R Programming

simsem (version 0.2-0)

findRowZero: Find rows in a matrix that all elements are zero in non-fixed subset rows and columns.

Description

Find rows in a matrix that all elements are zero in non-fixed subset rows and columns. This function will be used in the findRecursiveSet function

Usage

findRowZero(square.matrix, is.row.fixed = FALSE)

Arguments

square.matrix
Any square matrix
is.row.fixed
A logical vector with the length equal to the dimension of the square.matrix. If TRUE, the function will skip examining this row.

Value

  • A vector of positions that contain rows of all zeros

Examples

Run this code
# No example

Run the code above in your browser using DataLab