ngstk (version 0.1.1.1)

split_list: Function to split list

Description

Function to split list

Usage

split_list(x, sections = 1)

Arguments

x

List object that need to be divided n sections

sections

Split section number (row)

Examples

Run this code
# NOT RUN {
x <- list(a=1:3, b=2:4, c=3, d=4)
split_list(x, 2)
# }

Run the code above in your browser using DataLab