View source: R/xmastreeshape.R
xmastreeshape | R Documentation |
Christmas trees (2017 card) with different shapes.
xmastreeshape(
year = 2018,
language = c("english", "spanish", "catalan"),
shape = c("piramidal", "oval", "vshaped", "round", "columnar"),
nballs = 15,
ballscolor = NULL,
seed = NULL
)
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 |
A Christmas card plot including a christmas tree.
Jose Barrera-Gomez.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.