Learn R Programming

christmas (version 1.4.0)

xmasfractaltree: Fractal Christmas tree.

Description

The tree fractal structure was adapted from (https://blogs.sas.com/content/iml/2012/12/14/a-fractal-christmas-tree.html). A preliminary translation to R was written by Alejandra Cabana (UAB).

Usage

xmasfractaltree(year = 2025, language = c("english", "spanish", "catalan"))

Value

A Christmas card plot including a fractal Christmas tree.

Arguments

year

Year to be printed. Default is 2025.

language

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

Author

Jose Barrera-Gomez.

Examples

Run this code
# \donttest{
xmasfractaltree()
# }

Run the code above in your browser using DataLab