setMatrixColumns: Set Matrix Columns to Values

View source: R/matrix.R

setMatrixColumnsR Documentation

Set Matrix Columns to Values

Description

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


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.