Learn R Programming

BuyseTest (version 3.0.5)

.rowCumProd_cpp: Apply cumprod in each row

Description

Fast computation of t(apply(x,1,cumprod))

Usage

.rowCumProd_cpp(X)

Value

A matrix of same size as x.

Arguments

X

A matrix.