Learn R Programming

christmas (version 1.4.0)

xmastree: Naive Christmas tree.

Description

A random naive Christmas tree (2008 card).

Usage

xmastree(
  year = 2009,
  language = c("english", "spanish", "catalan"),
  seed = NULL
)

Value

A Christmas card plot including a random tree.

Arguments

year

Year to be printed. Default is 2009.

language

Language to be used in the card. One of c("english", "spanish", "catalan"). Default is "english".

seed

Seed for reproducibility of the card. Default is NULL (no seed).

Author

Jose Barrera-Gomez.

Examples

Run this code
# \donttest{
xmastree(year = 2020, language = "catalan", seed = 666)
# }

Run the code above in your browser using DataLab