I am new to R programming. Just started with swirl. Got stuck in the functions topic where I could partially understand the functions, but when it came to writing functions i had no clue what to do. If I could get a better explanation about that, it would be of great help.