Learn R Programming

googleAuthR (version 0.3.0)

split_vector: split a vector on an element

Description

Why doesn't this exist?

Usage

split_vector(vector, index, remove_splits = TRUE)

Arguments

vector
a vector
index
where to split the vector
remove_splits
to return with or without the index points

Value

  • a list of vectors split not including split point