Set matrix columns of given names to fix values
Usage
setMatrixColumns(m, columnValuePairs, warn = TRUE)
Arguments
- m
matrix
- columnValuePairs
list of elements each of which defines an assignment
in the form <column-name> = <value>
- warn
if TRUE
, warnings are given if columns named in
columnValuePairs
do not exist in matrix m