RelistBibEntry | R Documentation |
RelistBibEntry
unflattens a BibEntry object that has been
flattened with unlist
.
unlist
flattens a BibEntry object to a single list where every field (including bibtype
and key
)
of every entry is a separate element in the list.
RelistBibEntry(flesh, skeleton = NULL)
## S3 method for class 'BibEntry'
unlist(x, recursive = FALSE, use.names = TRUE)
flesh |
list; an |
skeleton |
currently ignored |
x |
a BibEntry object to flatten |
recursive |
ignored. |
use.names |
ignored. |
RelistBibEntry
is only intended for use with
unlist
ed BibEntry objects.
RelistBibEntry
- an object of class BibEntry
For unlist
, a list with bib entries collapsed into a single list.
The names of the list elements from an unlisted BibEntry object will not be unique. To do this see make.unique
.
as.BibEntry
bib <- list(c(bibtype = "article", key = "mclean2014a", title = "My New Article",
author = "Mathew W. McLean", journaltitle = "The Journal", date = "2014-01"),
c(bibtype = "article", key = "mclean2014b", title = "My Newer Article",
author = "Mathew W. McLean", journaltitle = "The Journal", date = "2014-02"))
bib <- as.BibEntry(bib)
unlist(bib)
RelistBibEntry(unlist(bib))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.