split_len() splits an object, such as a list or a data frame,
into subsets with specified lengths.
Arguments
- x
an object with a
split()method.- l
a vector of lengths of the subsets.
split_len() splits an object, such as a list or a data frame,
into subsets with specified lengths.
an object with a split() method.
a vector of lengths of the subsets.