custom_apply: custom_apply Function

Description Arguments Value Author(s)

Description

Apply function for sparse matrix with the same parameter form that the native apply.

Arguments

X

matrix to apply the function (sparse matrix)

MARGIN

1 for rows, 2 for columns

FUN

function for apply to the X matrix

Value

Matrix resulted with the function applied to original X matrix

Author(s)

Crhisto


crhisto/SCDC documentation built on Dec. 19, 2021, 6:19 p.m.