View source: R/epiparameter-utils.R
create_citation | R Documentation |
<epiparameter>
objectA helper function when creating an <epiparameter>
object to
create a citation list with sensible defaults, type checking and arguments
to help remember which citation information is accepted in the list.
create_citation(
author = utils::person(),
year = NA_integer_,
title = NA_character_,
journal = NA_character_,
doi = NA_character_,
pmid = NA_integer_
)
author |
Either a |
year |
A |
title |
A |
journal |
A |
doi |
A |
pmid |
A |
This function acts as a wrapper around bibentry()
to create
citations for sources reporting epidemiological parameters.
A <bibentry>
object of the citation
create_citation(
author = person(given = "John", family = "Smith"),
year = 2002,
title = "COVID-19 incubation period",
journal = "Epi Journal",
doi = "10.19832/j.1366-9516.2012.09147.x"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.