Putting the FUN in functions

a workshop for R-Ladies Santa Barbara

Banner image for event titled 'Putting the FUN in functions' against a dark blue background with yellow stars and smiling planets.

Banner image for the workshop, which I drew!


This is a workshop on writing functions in R, with editing from Sam Csik and Juliette Verstaen. I also made a few illustrations for the event!


A smiling planet Saturn explains function structure against a dark blue background. A function takes arguments, does something with those arguments, then returns a new object.

Basic function structure as explained by Saturn.

Jupiter explains that using a function takes three steps: 1) the function, 2) the arguments, then 3) the output.

Jupiter explains what goes into a function: the function, the arguments, and the output.