Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

christmas

Load package into R:

library(christmas)

Secret Santa

Use the secret_santa() function to allocate gift recipients by passing in a vector of people's names:

secret_santa(c("John", "Paul", "George", "Ringo"))

returns:

  gift_giver gift_recipient
1       Paul          Ringo
2     George           John
3       John           Paul
4      Ringo         George

Christmas cards

Create a snowman Christmas card, and save it to a file called card.png:

snowman_card("card.png", "From Nicola")

which looks like:

About

Christmas functions.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Contributors

Languages