ChristmasTree: Make a ChristmasTree caRd

Description Usage Arguments Details Author(s) Examples

Description

Plots a jolly Christmas tree with presents underneath.

Usage

1
ChristmasTree(from = NULL, to = NULL, numPresents = 7, tinsel = FALSE)

Arguments

from

character string

to

character string

numPresents

positive integer

tinsel

should tinsel be added?

Details

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).

Author(s)

Randi H. Griffin and Chase L. Nunez

Examples

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)

rgriff23/caRds documentation built on May 27, 2019, 7:23 a.m.