batchify: Utility methods Helper utility to group list items into...

View source: R/Utilities.R

batchifyR Documentation

Utility methods Helper utility to group list items into batches

Description

This is used inside the batchSigEval function

Usage

batchify(items, per_batch, n_workers = 1)

Arguments

items

list of items to group into batches

per_batch

approximate target for size of batches

n_workers

number of batches is made divisible by n_workers

Value

list of list of items


YosefLab/FastProjectR documentation built on June 13, 2024, 4:20 p.m.