dot-rowScale_cpp: Dividy by a vector of values in each row

.rowScale_cppR Documentation

Dividy by a vector of values in each row

Description

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

Usage

.rowScale_cpp(X, scale)

Arguments

X

A matrix.

scale

A vector with length the number of columns of X.

Value

A matrix of same size as x.


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