Learn R Programming

wrapr (version 1.1.1)

map_to_char: format a map.

Description

format a map.

Usage

map_to_char(mp, sep = "\n  ")

Arguments

mp

named vector or list

sep

separator

Value

character formatted representation

Examples

Run this code
# NOT RUN {
cat(map_to_char(c('a':='b', 'c':='d')))

# }

Run the code above in your browser using DataLab