taxa (version 0.3.2)

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, ...)

Arguments

input

What to pass to func

func

(function)

...

passed to func