row_apply: Apply a function to rows of a matrix

Description Usage Arguments

View source: R/utils.r

Description

Convenience wrapper around apply. Always returns a matrix.

Usage

1
row_apply(x, f, ...)

Arguments

x

matrix

f

function to apply to each row

...

extra args to f


tensorr documentation built on May 2, 2019, 3:26 a.m.