dot-colCenter_cpp: Substract a vector of values in each column

.colCenter_cppR Documentation

Substract a vector of values in each column

Description

Fast computation of sweep(X, FUN = "-", STATS = center, MARGIN = 1)

Usage

.colCenter_cpp(X, center)

Arguments

X

A matrix.

center

A vector with length the number of rows of X .

Value

A matrix of same size as x.


bozenne/BuyseTest documentation built on Feb. 16, 2024, 5:35 a.m.