map_row {gptools2}R Documentation

Map f over each row of a matrix x

Description

Map f over each row of a matrix x

Usage

map_row(x, f, ...)

Arguments

x

A matrix.

f

A function that takes each row of x as input.

...

Additional parameters to pass to 'set_lapply'; should contain 'parallel' and 'mc.cores' at the minimum, and other parameters for 'mclapply' can be supplied as well.


[Package gptools2 version 0.1.10 Index]