25 Functions

Learning objectives:

We are going to learn about three useful type of function:

  • Vector functions take one or more vectors as input and return a vector as output.

  • Data frame functions take a data frame as input and return a data frame as output.

  • Plot functions that take a data frame as input and return a plot as output.