Module #2 - Functions and GitHub


The assignment for this module included evaluating a function called myMean and posting it to my GitHub account. I was able to connect RStudio with my GitHub repository and can successfully commit and push files to the server from RStudio.

After evaluating the function, I conclude that it is valid. I substituted the missing variables (assignment & someData) and ran the function without error. When simply executing the statement "myMean" in RStudio Console, it will output the function definition. However, when run with the argument of the assignment2 object, it performed and printed the calculation.

Link to GitHub R Script