| replace-am_doc | R Documentation |
Replace or insert values at the root of an Automerge document using
[[<- or $<-. These operators provide R-idiomatic modification.
## S3 replacement method for class 'am_doc'
x[[i]] <- value
## S3 replacement method for class 'am_doc'
x$name <- value
x |
An Automerge document |
i |
Key name (character) |
value |
Value to store |
name |
Key name (for |
The document (invisibly)
doc <- am_create()
doc[["name"]] <- "Bob"
doc$age <- 25L
am_close(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.