c.BibEntry: Combine BibEntry objects.

c.BibEntryR Documentation

Combine BibEntry objects.

Description

Combines mutliple BibEntry objects into a single one.

Usage

## S3 method for class 'BibEntry'
c(..., recursive = FALSE)

Arguments

...

- BibEntry objects to be concatenated.

recursive

- logical; ignored.

Value

a single BibEntry object.

Note

c will remove all attributes besides class.

No checking for duplicate entries is performed though keys will be made unique.

See Also

Other operators: $.BibEntry(), $<-.BibEntry(), +.BibEntry(), [.BibEntry(), [<-.BibEntry(), [[.BibEntry(), [[<-.BibEntry()

Examples

bib <- c(BibEntry(bibtype = "article", key = "mclean2014a", title = "My New Article",
  author = "Mathew W. McLean", journaltitle = "The Journal", date = "2014-01"),
  BibEntry(bibtype = "article", key = "mclean2014b",
  title = "My Newer Article", author = "Mathew W. McLean", journaltitle = "The Journal",
  date = "2014-02"))

ropensci/RefManageR documentation built on Nov. 19, 2024, 9:02 a.m.