take: Keep all elements up to but not including n

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
take(ls, n)

Arguments

ls

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

n

An integer referring the cardinal position of a scalar in the functional list object

Value

A functional list containing all of the scalars before the nth position


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