Hour 8. Writing Functions: Part II

What You’ll Learn in This Hour:

Image How to check the appropriateness of function inputs

Image How to return errors and warnings from a function

Image How to use function “ellipsis”

In the last hour, you saw how to create a number of simple R functions. This included the definition of function inputs, the creation of the function body, and the management of results back to the user. You also saw how to control the overall “flow” ...

Get Sams Teach Yourself R in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.