split_to_chunks {googleCloudVisionR}R Documentation

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


[Package googleCloudVisionR version 0.2.0 Index]