mat_rows_sumsBinary: Binary version of row sum.

View source: R/RcppExports.R

mat_rows_sumsBinaryR Documentation

Binary version of row sum.

Description

Count the number of non empty cells of each row of an adjacency matrix.

Usage

mat_rows_sumsBinary(x)

Arguments

m

a matrix.

Value

An integer vector. Each elements correspond to the sum of non empty cells according to the corresponding row.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzales.


SebastianSosa/ant documentation built on Sept. 23, 2023, 7:06 a.m.