sfSimplifyLBResult: sfSimplifyLBResult

Description Usage Arguments Value Author(s) See Also

View source: R/parallel.R

Description

Transform the list resulting from sfClusterApplyLB to vector or matrix, similar as apply.

Usage

1
sfSimplifyLBResult(resl, caseNames = NULL)

Arguments

resl
caseNames

list of column names, name corresponds to dimension name for columns, i.e as obtained from dimnames(X)[1]

Value

Depending on components (result of FUN)

scalar

vector

vector

matrix with cases in columns

matrix

each column corresponds to as.vector(matrix), i.e. stacked to one vector

list

list of lists. May transform to dataframe by: do.call(rbind, lapply(.res,data.frame)))

data.frame

list of data.frames

Author(s)

Thomas Wutzler

See Also

twSnowfall


twSnowfall documentation built on May 31, 2017, 2:05 a.m.

Search within the twSnowfall package
Search all R packages, documentation and source code