Links
///////////////////////////
 Carpentries, 2018, Loops in R
    https://swcarpentry.github.io/r-novice-inflammation/15-supp-loops-in-depth/

 Fanara,Carlo, 2018, A Tutorial on Loops in R - Usage and Alternatives
    https://www.datacamp.com/tutorial/tutorial-on-loops-in-r

 R if else Statement
      https://www.datamentor.io/r-programming/if-else-statement/

  Vries, Andrie de and Joris Meys,How to use R if condition 
      https://www.dummies.com/programming/r/how-to-use-if-statements-in-r/
///////////////////////////

ifelse() function 
/////////////////////////////////  

 This is quite similar to the Excel if() condition

   ifelse(condition, true, false)

  ifelse(a>0, "positive", "not-positive")

/////////////////////////////////

Videos
///////////////////////////
 Hutson,Gary, 2017, R Programming - For Loops
    (v11k,s673,t12:18)
    https://www.youtube.com/watch?v=50Il-XNEZng

 Math Partner, 2017, R Basics 6 - While and For Loops
    (v5k,s4k,t12:10)
    https://www.youtube.com/watch?v=LNpg8jgGex4

 Webster, Richard, 2015, For loops
    (v77k,s5k,t11:33)
    https://www.youtube.com/watch?v=h987LWDvqlQ

 DataCamp, 2015, R Tutorial - How To Use Conditional Statements in R
    (v42k,s84k,t4:26)
    https://www.youtube.com/watch?v=qvSKipqzg3U

 R-programming Library, 2018, ifelse() function in R
    (v4k,s675,t3:26)
    https://www.youtube.com/watch?v=FG_38X1ZMoc

 Maths Partner, 2017, R Basics 8 - If Statements with Multiple Conditions
    (v14k,s4k,t10:25)
    https://www.youtube.com/watch?v=a2vaD_EqTNE
///////////////////////////

What is an R package?
////////////////////////////////

 R packages are written by a group of people or individual 

   who usually have expertise around a specific

   area to serve a specific purpose. 

///////////////////////////////

Advantages of using R packages
////////////////////////////////

 1) You don t have to reinvent wheel

 2) Powerful

 3) Many useful functions

 4) Many finance-related R packages available 

 5) Save time

 6) Download others  programs and extend them

///////////////////////////////