October 2017
Beginner to intermediate
236 pages
7h 38m
English
To write a function in R, there is a keyword in R called function. Using this keyword, you can write any type of customized function in R. In this recipe, the task is as follows:
Each of the input parameters is called the argument of a function. In this recipe, the input argument is vectorInput. You can use any numeric input vector to specify the input of this function by passing the argument as vectorInput=V1.
Within the curly braces, the actual calculation happened. In this case, the mean and standard deviation has been ...