snippets of R code that can be included in other scripts using the source() command and calling the contained functions