Description Usage Arguments Value Examples
Set the citation of a design
1 2 3 |
design |
A design typically created using the + operator |
title |
The title of the design, as a character string. |
author |
The author(s) of the design, as a character string. |
year |
The year of the design, as a character string. |
description |
A description of the design in words, as a character string. |
citation |
(optional) The preferred citation for the design, as a character string, in which case title, author, year, and description may be left unspecified. |
a design object with a citation attribute
1 2 3 4 5 6 7 8 9 10 11 12 | design <-
declare_population(data = sleep) +
declare_sampling(n = 10)
design <-
set_citation(design,
author = "Lovelace, Ada",
title = "Notes",
year = 1953,
description = "This is a text description of a design")
cite_design(design)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.