powered by
as_xmp() coerces objects into an xmp() object.
as_xmp()
xmp()
as_xmp(x, ...)# S3 method for docinfo as_xmp(x, ...)# S3 method for list as_xmp(x, ...)
# S3 method for docinfo as_xmp(x, ...)
# S3 method for list as_xmp(x, ...)
An xmp() object.
An object that can reasonably be coerced to a xmp() object.
Further arguments passed to or from other methods.
di <- docinfo(author = "John Doe", title = "A Title") as_xmp(di) l <- list(`dc:creator` = "John Doe", `dc:title` = "A Title") as_xmp(l)
Run the code above in your browser using DataLab