Description Usage Arguments Details Author(s) Examples
Plots a jolly Christmas tree with presents underneath.
1 | ChristmasTree(from = NULL, to = NULL, numPresents = 7, tinsel = FALSE)
|
from |
character string |
to |
character string |
numPresents |
positive integer |
tinsel |
should tinsel be added? |
The optional arguments from
and to
specify the sender and recipient of the caRd, respectively. The number of presents can be changed with the numPresents
argument (the default is 7), and tinsel can be added by setting tinsel
to TRUE (defaults to FALSE).
Randi H. Griffin and Chase L. Nunez
1 2 3 4 5 | # From Randi to Chase with 10 presents under the tree
ChristmasTree(from="Randi", to="Chase", numPresents=10)
# Same plot with tinsel
ChristmasTree(from="Randi", to="Chase", numPresents=10, tinsel=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.