A function does some computation on an object. The use of a function consists of:
- A function’s name
- 0 or more inputs
Each input is provided to an argument or parameter within a function.
These arguments have names, although you don’t often need to provide the names.
You can find out what arguments a function takes by using the code completion and it’s help snippet, or by searching for the function in the Rstudio Help tab.
When you’re inside the brackets of a function you can get the list of available arguments and auto-complete them.
Ellen also includes some useful R libraries for working with and visualizing data.