chunk: Helper function that splits vector into chunks of specific...

Description Usage Arguments

View source: R/chunk.R

Description

Credit goes to: Harlan (http://stackoverflow.com/users/135944/harlan) and dfrankow (http://stackoverflow.com/users/34935/dfrankow) due to their efforts at Stackoverflow (http://stackoverflow.com/a/3321659/1144966)

Usage

1
chunk(x, n)

Arguments

x

The vector to be chunked.

n

The prefered size of those chunks.


johndharrison/wikipediatrend documentation built on May 19, 2019, 5:14 p.m.