Learn R Programming

christmas (version 1.4.0)

xmastext: Christmas message.

Description

A random repetition of a message (2010 card). Random allocation of repetitions of the Christmas message.

Usage

xmastext(
  year = 2011,
  language = c("english", "spanish", "catalan"),
  seed = NULL
)

Value

A Christmas card plot including the repetition of the same message randomly allocated.

Arguments

year

Year to be printed. Default is 2011.

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{
xmastext(year = 2011, language = "spanish", seed = 666)
# }

Run the code above in your browser using DataLab