Learn R Programming

christmas (version 1.3.0)

xmasregression: Christmas regression model.

Description

A plot of the Christmas regression model (2019 card).

Usage

xmasregression(
  year = 2020,
  language = c("english", "spanish", "catalan"),
  time = 4,
  seed = NULL
)

Value

An illustration of the Christmas regression model.

Arguments

year

Year to be printed. Default is 2020.

language

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

time

Total time, in seconds, for the card generation. Default is 12.

seed

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

Author

Jose Barrera-Gomez.

Examples

Run this code
# \donttest{
xmasregression()
xmasregression(year = 2021, language = "catalan", time = 2)
# }

Run the code above in your browser using DataLab