The function prints or returns the citation string of a chosen object/item.
reference(dat, var = NULL, ver = NULL, print = TRUE, prefix = "")
(characater
) Object downloaded with fetch
or the database identifier string.
(character
) In case dat
is character
, the variable identifier.
(character
) In case dat
is character
, the version identifier.
(logical
) Should the citations be printed to the console, or returned as a character
vector.
(characater
) In case the output is printed on the console. Use this to include a prefix before every entry.
The function is intended to be updated to handle BibTEX entries.