RowMaxes: Sparse matrix row maximums.

Description Usage Arguments Details Value

View source: R/DataConversionFunctions.R

Description

Find the row maximums in a sparse matrix.

Usage

1
RowMaxes(smat)

Arguments

smat

A sparse matrix.

Details

The argument smat is expected to be of type "dgCMatrix". This condition should hold mean( names( RowMaxes(smat) ) == rownames(smat) ) == 1.

Value

A numeric vector with named elements


antononcube/ERTMon-R documentation built on Oct. 14, 2021, 2:27 p.m.