Learn R Programming

nhppp (version 1.0.2)

mat_cumsum_columns_with_vector_ceiling: Return matrix with column-wise cumulative sum replacing cells larger than ceil with NA. No checks for arguments is done.

Description

Return matrix with column-wise cumulative sum replacing cells larger than ceil with NA. No checks for arguments is done.

Usage

mat_cumsum_columns_with_vector_ceiling(X, ceil = Inf)

Value

matrix

Arguments

X

(matrix)

ceil

(vector or Inf) the set of ceilings to be applied, per row of X