slice: Select all of the elements between two positions in a list

Description Usage Arguments Value

Description

Unlike base R, this subsetting function uses cardinal instead of ordinal numbers. This means that counting starts from 0 and continues up to, but not including the nth number.

Usage

1

Arguments

ls

A function, with class fl, that operates as a functional list object

start

An integer referring the cardinal position of the first element in the slice

end

An integer referring to the position after the final element in the slice

Value

A functional list containing all of the scalars from the start position but before the end position


michaelquinn32/lambdaList documentation built on May 22, 2019, 9:52 p.m.