| ps_cite | R Documentation |
BibTeX Entries Associated with peacesciencer Data and Functionsps_cite() allows the user to get citations to scholarship that they
should include in their papers that incorporate the functions and data in this package.
ps_cite(x, column = "keywords")
x |
a character vector |
column |
a character vector for the particular column of |
The base functionality here is simple pattern-matching on keywords in ps_bib. This
simple pattern-matching is in base R. I assume the user has some familiarity with BibTeX.
ps_cite() takes a character vector and scans the ps_bib data in
this package to return a BibTeX citation (or citations) for the researcher to use
to properly cite the material they are getting from this package. The citations
are returned as a full BibTeX entry (or entries) that they can copy-paste into their
own BibTeX file.
Steven V. Miller
# Cite the package
ps_cite("peacesciencer")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.