Learn R Programming

xmpdf (version 0.2.1)

as_docinfo: Coerce to docinfo objects

Description

as_docinfo() coerces objects into a docinfo() object.

Usage

as_docinfo(x, ...)

# S3 method for xmp as_docinfo(x, ...)

Value

A docinfo() object.

Arguments

x

An object that can reasonably be coerced to a docinfo() object.

...

Further arguments passed to or from other methods.

Examples

Run this code
 x <- xmp(`dc:Creator` = "John Doe", `dc:Title` = "A Title")
 as_docinfo(x)

Run the code above in your browser using DataLab