Creating some functions using R Hello everyone, in this section, I want to share with you how to create some functions in the R language. In some cases, maybe we face a problem that is ineffective when finished using traditional calculations or manual processes. So, we need a function that may work effectively and efficiently in solving our problems. In this post, we want to practice how to make some simple functions which may finish some cases. I will provide examples below based on my daily work experiences. Some of these examples may be new to you, but the important thing is that I hope you could catch the point of making functions. In the certain stage of practice, we will use special package like dplyr. Like pandas in python, dplyr has some functions that we need for data manipulation. Furthermore, we want to practice how to build a function using one or more parameters that we used to solve our problem. At the end of this post, we will try to solve some quadratic equations using ...