chunk.ldat: Generate a number of index ranges from an ldat object

View source: R/chunk_ldat.R

chunk.ldatR Documentation

Generate a number of index ranges from an ldat object

Description

The ranges have a maximum length.

Usage

## S3 method for class 'ldat'
chunk(x, chunk_size = 5e+06, ...)

Arguments

x

an object of type ldat for which the index ranges should be calculated.

chunk_size

a numeric vector of length 1 giving the maximum length of the chunks. When not given it uses the value of the option 'chunk_size' (see options) otherwise the default value.

...

ignored; used to pass additional arguments to other methods.

Details

The default chunk size can be changes by setting the option 'chunk_size', ('options(chunk_size = <new default chunk size>)').


djvanderlaan/ldat documentation built on Oct. 4, 2022, 7:01 p.m.