split_to_chunks: helper function to split a vector to approximately equally...

Description Usage Arguments Value

View source: R/get_google_vision_response.R

Description

helper function to split a vector to approximately equally sized chunks

Usage

1
split_to_chunks(vec, chunkSize)

Arguments

vec

a vector

chunkSize

integer, how long should the chunks be?

Value

a list of chunks


googleCloudVisionR documentation built on March 26, 2020, 7:13 p.m.