Learn R Programming

christmas (version 1.4.0)

xmasneon: Neon Christmas card.

Description

Christmas card using a neon sign (2013 card). It only works for wishing 2014.

Usage

xmasneon(
  language = c("english", "spanish", "catalan"),
  nflash = 30,
  pause = 0.1,
  seed = NULL
)

Value

A Christmas card plot including a message and then a simulations of a neon sign.

Arguments

language

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

nflash

Number of flashes shown in the neon sign. Default is 30.

pause

Pause, in seconds, between two consecutive flashes shown in the neon sign. Default is 0.1.

seed

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

Author

Jose Barrera-Gomez.

Examples

Run this code
# \donttest{
xmasneon()
xmasneon(language = "catalan", nflash = 10, pause = 0.05)
xmasneon(nflash = 100, pause = 0.01)
# }

Run the code above in your browser using DataLab