dot-colScale_cpp: Divide by a vector of values in each column

.colScale_cppR Documentation

Divide by a vector of values in each column

Description

Fast computation of sweep(X, FUN = "/", STATS = scale, MARGIN = 1)

Usage

.colScale_cpp(X, scale)

Arguments

X

A matrix.

scale

A vector with length the number of rows of X .

Value

A matrix of same size as x.


BuyseTest documentation built on March 31, 2023, 6:55 p.m.