# Writing Functions in R: Working Example One

[This article was first published on

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

A. Background We usually want to write reusable code that is compact and could be utilized in a number of use cases. That involves writing user defined functions that can take particular input values, perform some set of steps, and returns an output. In this series of blog posts, I will take a number of …**R – Mathew Analytics**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Writing Functions in R: Working Example One Read More

To

**leave a comment**for the author, please follow the link and comment on their blog:**R – Mathew Analytics**.R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.