Intro to modular programming w/ R functions
Details
WHAT TO EXPECT
This workshop will provide a practical introductory overview (with hands-on practice) with writing R functions.
WHO is this for?
- If you'd like to automate common tasks into an efficient way
- If you're interested in creating nested functions for complicated computation
- If you'd like to customize functions from the existing R packages
TOPICS
- Learn the structure of function
- Pass parameters and return values by calling functions
- Understand local variables and global variables
- Control and handle errors in a function
- A better practice of function writing
SET-UP
To benefit most from this workshop, please bring your laptop with pre-installed RStudio ([https://www.rstudio.com/products/rstudio/](https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rstudio.com%2Fproducts%2Frstudio%2F&data=05%7C02%7CKEWALIN.SAMART%40CUANSCHUTZ.EDU%7C954ada6fb6964c5d83d308dcd340115c%7C563337caa517421aaae01aa5b414fd7f%7C0%7C0%7C638617519334849043%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=oNrs2FYuSBktwxX%2BhxPKVAVLjVp2fU2hZXRsfNkBCqU%3D&reserved=0 "Original URL: https://www.rstudio.com/products/rstudio/. Click or tap if you trust this link.")) and R.
