Learn R Programming

metacoder (version 0.3.7)

map_unique: Run a function on unique values of a iterable

Description

Runs a function on unique values of a list/vector and then reformats the output so there is a one-to-one relationship with the input.

Usage

map_unique(input, func, ...)

map_unique(input, func, ...)

Arguments

input

What to pass to func

func

(function)

...

passed to func