Learn R Programming

knitcitations (version 0.3-3)

cite: Add a citation (internal for citet and citep)

Description

Add a citation (internal for citet and citep)

Usage

cite(x, bibtex = getOption("bibtex_data"))

Arguments

x
a doi or list of dois, or a bibentry (or list of bibentries)
bibtex
internal logical indicating if we use a cache or external bibtex file

Value

  • a parenthetical inline citation

Details

Stores the full citation in a "works_cited" list, which can be printed with bibliography

Examples

Run this code
citep("10.3998/3336451.0009.101")

Run the code above in your browser using DataLab