Learn R Programming

automerge (version 0.3.0)

am_map: Create an Automerge map

Description

Creates an R list with explicit Automerge map type. Use this when you need to create an empty map or force map type interpretation.

Usage

am_map(...)

Value

A named list with class am_map_type

Arguments

...

Named elements to include in the map

Examples

Run this code
# Empty map (avoids ambiguity)
am_map()

# Populated map
am_map(key1 = "value1", key2 = "value2")

Run the code above in your browser using DataLab