Learn R Programming

ldat (version 0.3.3)

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

Description

The ranges have a maximum length.

Usage

# S3 method for 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>)`).