Description: We begin with loading a dataset in a CSV file into R and doing some basic statistics with the dataset. We then look into how to group those R commands into an R function to avoid typing commands repeatedly when we need to redo the calculations. We move on to show how to automate the process of loading a bunch of CSV files and perform the same statistical tasks with R built-in commands and for loops. Naturally we start looking into the fundamental concepts of R programming, with focus on manipulation of lists, vectors, arrays and data frames. As an important feature and strength in statistical computing, we give a very brief introduction to the random number generators and statistical functions. We touch upon linear regression with simple, easy to understand examples. At the end of the course, we revisit the data frame that we begin with and cover more topics on data frame.
Length: 3 days
Activities: Quizzes, homework.
Prerequisites: None.
- Teacher: Marie-Helene Burle
- Teacher: Baolai Ge
- Teacher: Tyson Whitehead