n_chunks {stRoke}R Documentation

Splits in n chunks

Description

Splits in n chunks

Usage

n_chunks(d, n, ...)

Arguments

d

data

n

number of chunks

...

arguments passed to internal chunks_of_n()

Value

List of chunks

Examples

lengths(n_chunks(d=seq_len(100),n=7,even=TRUE))
lengths(n_chunks(d=seq_len(100),n=7,even=FALSE))

[Package stRoke version 23.9.1 Index]