map_indexed: map_indexed

Description Usage Arguments Value

Description

A map transducer that keeps an index. It starts with 0.

Usage

1

Arguments

f

a function that takes an index and an input and returns a value

Value

A transducer that maps a value using f.


dirkschumacher/transduceR documentation built on May 15, 2019, 8:50 a.m.