Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fseq

Extract function(s) from a functional sequence.


Description

Functional sequences can be subset using single or double brackets. A single-bracket subset results in a new functional sequence, and a double-bracket subset results in a single function.

Usage

## S3 method for class 'fseq'
x[[...]]

## S3 method for class 'fseq'
x[...]

Arguments

x

A functional sequence

...

index/indices. For double brackets, the index must be of length 1.

Value

A function or functional sequence.


magrittr

A Forward-Pipe Operator for R

v2.0.1
MIT + file LICENSE
Authors
Stefan Milton Bache [aut, cph] (Original author and creator of magrittr), Hadley Wickham [aut], Lionel Henry [cre], RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.