powered by
The function prints or returns the citation string of a chosen object/item.
reference( src, bibtex = FALSE, ser = NULL, ver = NULL, print = TRUE, prefix = "" )
By default the function has no return value. If print=FALSE, the function will return a reference character string.
print=FALSE
(characater) Object downloaded with fetch or the source identifier string.
characater
fetch
(logical) Should a bibtex be printed/returned?
logical
(character) In case src is character, the series identifier.
character
src
(character) In case src 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.
# A locally-present object, in package's directory one <- fetch(src="SOM-zaffos-fragmentation", datadir=system.file("extdata", package="chronosphere")) # its reference reference(one)
Run the code above in your browser using DataLab