| str.am_doc | R Documentation |
S3 method for utils::str() that displays the structure of an Automerge
document in a human-readable format.
## S3 method for class 'am_doc'
str(object, max.level = 2, ...)
object |
An automerge document object. |
max.level |
Maximum depth to recurse into nested structures. Default 2. |
... |
Additional arguments (ignored). |
Invisibly returns NULL.
doc <- am_create()
doc$name <- "Alice"
doc$data <- list(x = 1L, y = 2L)
str(doc)
str(doc, max.level = 1)
am_close(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.