lazy.citation {lazyWeave} | R Documentation |
Add R or R Package Citation
Description
Generates code for the citation of R or an R package.
Usage
lazy.citation(pkg = NULL, author = TRUE, title = TRUE, org = TRUE,
address = TRUE, volume = TRUE, year = TRUE, note = TRUE)
Arguments
pkg |
a character(1) vector giving the name of a package. If |
author |
Include author name |
title |
Include title of package |
org |
Include organization name |
address |
Include address |
volume |
Include volume |
year |
include year of publication |
note |
include the note on the citation. |
Details
Not every option is populated in every package.
Future improvements might include automatic detection of NULL fields,
but for now, observing the output with all the options set to TRUE
will tell you which ones are empty.
Author(s)
Benjamin Nutter
Examples
lazy.citation()
lazy.citation(pkg="lazyWeave", org=FALSE, address=FALSE, volume=FALSE)
[Package lazyWeave version 3.0.2 Index]