ImposeColumnIDs: Impose column 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
ImposeColumnIDs(colIDs, smat)

Arguments

colIDs

A character vector of column ID's.

smat

A matrix with named columns.

Value

A sparse matrix.


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