dot-rowCenter_cpp: Substract a vector of values in each row

.rowCenter_cppR Documentation

Substract a vector of values in each row

Description

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

Usage

.rowCenter_cpp(X, center)

Arguments

X

A matrix.

center

A vector with length the number of columns of X.

Value

A matrix of same size as x.


bozenne/BuyseTest documentation built on June 11, 2025, 2:49 a.m.