colSubtract: colSubtract

View source: R/CodeAndRoll2.R

colSubtractR Documentation

colSubtract

Description

Subtract a vector (length = nr. columns) column by column from each value of the matrix.

Usage

colSubtract(mat = xx, vec = 5:1)

Arguments

mat

Numeric input matrix.

vec

Vector to subtract. Length = nr. columns.


vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.