ImposeRowIDs: Impose row ID's to a sparse matrix.

Description Usage Arguments Value

View source: R/DataConversionFunctions.R

Description

Makes sure that the rows of a matrix are in 1-to-1 correspondence to an array of row ID's

Usage

1
ImposeRowIDs(rowIDs, smat)

Arguments

rowIDs

A character vector of row ID's.

smat

A matrix with named rows.

Value

A sparse matrix.


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