xmastreeshape {christmas} | R Documentation |
Christmas shaped tree.
Description
Christmas trees (2017 card) with different shapes.
Usage
xmastreeshape(
year = 2018,
language = c("english", "spanish", "catalan"),
shape = c("piramidal", "oval", "vshaped", "round", "columnar"),
nballs = 15,
ballscolor = NULL,
seed = NULL
)
Arguments
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
shape |
The shape of the tree. One of |
nballs |
The number of balls in the tree. Default is 15. |
ballscolor |
The colors to be used for the balls in the tree. It must be
a vector with names of colors included in |
seed |
Seed for reproducibility of the card. Default is |
Value
A Christmas card plot including a christmas tree.
Author(s)
Jose Barrera-Gomez.
Examples
xmastreeshape(shape = "oval", language = "catalan", ballscolor = "blue")
xmastreeshape(shape = "vshaped", nballs = 15, ballscolor = c("sienna2", "yellow2", "tomato"),
seed = 1111)
xmastreeshape(shape = "columnar", nballs = 20, ballscolor = "red")
[Package christmas version 1.3.0 Index]