dot-colMultiply_cpp: Multiply by a vector of values in each column

.colMultiply_cppR Documentation

Multiply by a vector of values in each column

Description

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

Usage

.colMultiply_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 April 12, 2025, 1:54 a.m.