as_xmp | R Documentation |
as_xmp()
coerces objects into an xmp()
object.
as_xmp(x, ...)
## S3 method for class 'docinfo'
as_xmp(x, ...)
## S3 method for class 'list'
as_xmp(x, ...)
x |
An object that can reasonably be coerced to a |
... |
Further arguments passed to or from other methods. |
An xmp()
object.
di <- docinfo(author = "John Doe", title = "A Title")
as_xmp(di)
l <- list(`dc:creator` = "John Doe", `dc:title` = "A Title")
as_xmp(l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.