Learn R Programming

RNeXML (version 2.0.7)

c,ListOfmeta-method: Concatenate ListOfmeta elements into a ListOfmeta

Description

Concatenate ListOfmeta elements into a ListOfmeta

Usage

# S4 method for ListOfmeta
c(x, ..., recursive = FALSE)

Arguments

x, ...

meta or ListOfmeta elements to be concatenated, e.g. see meta

recursive

logical, if 'recursive=TRUE', the function descends through lists and combines their elements into a vector.

Value

a listOfmeta object containing multiple meta elements.

Examples

Run this code
# NOT RUN {
metalist <- c(meta(content="example", property="dc:title"),
              meta(content="Carl", property="dc:creator"))
out <- c(metalist, metalist) 
out <- c(metalist, meta(content="a", property="b")) 
# }

Run the code above in your browser using DataLab