Learn R Programming

googleCloudVisionR (version 0.2.0)

split_to_chunks: helper function to split a vector to approximately equally sized chunks

Description

helper function to split a vector to approximately equally sized chunks

Usage

split_to_chunks(vec, chunkSize)

Arguments

vec

a vector

chunkSize

integer, how long should the chunks be?

Value

a list of chunks