nth: Select an element of a functional 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.

Usage

1
nth(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 scalar contained in the functional list object.


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