0

(

ratings

)

20

students

Created by:

Profile Photo

Last updated:

May 17, 2022

Duration:

Unlimited Duration

FREE

This course includes:

Unlimited Duration

Badge on Completion

Certificate of completion

Unlimited Duration

Description

In this course you will learn how to program in R and how to use R for effective data analysis. You will learn how to install and configure software necessary for a statistical programming environment, discuss generic programming language concepts as they are implemented in a high-level statistical language. The course covers practical issues in statistical computing which includes programming in R, reading data into R, accessing R packages, writing R functions, debugging, and organizing and commenting R code. Topics in statistical data analysis and optimization will provide working examples.

Schedule

  • Week 1: Overview of R, R data types and objects, reading and writing data
  • Week 2: Control structures, functions, scoping rules, dates and times
  • Week 3: Loop functions, debugging tools
  • Week 4: Simulation, code profiling

Programming Assignments

There will be three required programming assignments. The first programming assignment is due at the end of the second week. Subsequent programming assignments are due weekly after that. Programming Assignments 1 and 3 will be graded via unit tests using a submission script that will compare the output of your functions to the correct output. To access Programming Assignments 1 and 3, click the corresponding link in the left navigation bar. Programming Assignment 2 will be submitted differently and graded via a peer assessment. To access Programming Assignment 2, click the corresponding link in the left navigation bar.

swirl Programming

In this course, you have the option to use the swirl R package to practice some of the concepts we cover in lectures. Each lesson that you complete in swirl is worth one extra credit point. However, the maximum number of points you may earn for the assignment is capped at 5. While these lessons will give you valuable practice and you are encouraged to complete as many as possible, please note that they are completely optional and you can get full marks in the class without completing them. You can find the instructions for how to install and use swirl in the Programming Assignments section of the course under Week 1.

Course Curriculum

    • Overview and History of R 00:50:00
    • Getting Help 00:55:00
    • Data type 00:52:00
    • Subsetting 00:55:00
    • Vectorized Operations 00:56:00
    • Reading and Writing Data Part 1 00:58:00
    • Reading and Writing Data Part 11 00:58:00
    • Control Structures 01:00:00
    • Functions 01:00:00
    • lapply 01:00:00
    • tapply 01:00:00
    • Split 01:00:00
    • mapply 01:00:00
    • apply 01:00:00
    • Coding Standards 01:00:00
    • Dates and Times 01:00:00
    • Scoping Rules 01:00:00
    • Debugging tools 01:00:00
    • Simulation 01:00:00
    • R profiler 01:00:00

About the instructor

5 5

Instructor Rating

6

Reviews

4637

Courses

24154

Students

Profile Photo
OpenCoursa
We are an educational and skills marketplace to accommodate the needs of skills enhancement and free equal education across the globe to the millions. We are bringing courses and trainings every single day for our users. We welcome everyone woth all ages, all background to learn. There is so much available to learn and deliver to the people.