invert: Inverts a dictionary

Description Usage Arguments Value

View source: R/dict.r

Description

Returns a dictionary where keys and values are swapped. Values are coerced to character keys, if needed.

Usage

1

Arguments

dict

a dictionary

Value

a new dictionary with keys and values swapped


stefano-meschiari/dict documentation built on May 30, 2019, 10:44 a.m.