sfApplyMatrixLB: sfApplyMatrixLB

Description Usage Arguments Details Value Author(s) See Also

Description

Load balanced parallel application of FUN to rows or columns of matrix X

Usage

1
sfApplyMatrixLB(X, MARGIN = 1, FUN, ..., debugSequential = FALSE)

Arguments

X

matrix with rows corresponding to cases supplied to first argument of FUN

MARGIN

1 indicates rows, 2 indicates columns

FUN

function to be applied on each row

...

further arguments passed to FUN

debugSequential

use apply

Details

if debugSequentail is TRUE, simple apply is used

Value

a list with result of FUN for each row or columns of X respectively

Author(s)

Thomas Wutzler

See Also

twSnowfall


twSnowfall documentation built on May 2, 2019, 4:47 p.m.