- Level Professional
- المدة 18 ساعات hours
- الطبع بواسطة Johns Hopkins University
-
Offered by
عن
This course covers advanced topics in R programming that are necessary for developing powerful, robust, and reusable data science tools. Topics covered include functional programming in R, robust error handling, object oriented programming, profiling and benchmarking, debugging, and proper design of functions. Upon completing this course you will be able to identify and abstract common data analysis tasks and to encapsulate them in user-facing functions. Because every data science environment encounters unique data challenges, there is always a need to develop custom software specific to your organization’s mission. You will also be able to define new data types in R and to develop a universe of functionality specific to those data types to enable cleaner execution of data science tasks and stronger reusability within a team.الوحدات
Welcome
1
Videos
- Welcome to Advanced R Programming
3
Readings
- Syllabus
- Course Textbook: Mastering Software Development in R
- swirl Assignments
Control Structures
6
Readings
- Control Structures Overview
- if-else
- for Loops
- Nested for loops
- next, break
- Summary
Functions
11
Readings
- Functions Overview
- Code
- Function interface
- Default values
- Re-factoring code
- Dependency Checking
- Vectorization
- Argument Checking
- R package
- When Should I Write a Function?
- Summary
Swirl: Functions - Automatic Submission
- Swirl Lesson
Swirl: Functions - Manual Submission
1
Assignment
- Swirl Lesson
Functional Programming
11
Readings
- What is Functional Programming?
- Core Functional Programming Functions
- Map
- Reduce
- Search
- Filter
- Compose
- Partial Application
- Side Effects
- Recursion
- Summary
Expressions & Environments
3
Readings
- Expressions
- Environments
- Execution Environments
Error Handling and Generation
5
Readings
- What is an error?
- Generating Errors
- When to generate errors or warnings
- How should errors be handled?
- Summary
Swirl: Functional Programming with purrr - Automatic Submission
- Swirl Lesson
Swirl: Functional Programming with purrr - Manual Submission
1
Assignment
- Swirl Lesson
Debugging
8
Readings
- Debugging Overview
- traceback()
- Browsing a Function Environment
- Tracing Functions
- Using debug() and debugonce()
- recover()
- Final Thoughts on Debugging
- Summary
Profiling
5
Readings
- Profiling Overview
- microbenchmark
- profvis
- Find out more
- Summary
Non-standard evaluation
2
Readings
- Non-standard evaluation
- Summary
Debugging, Profiling, and Non-standard Evaluation Quiz
1
Assignment
- Debugging and Profiling
OOP
6
Readings
- OOP Overview
- Object Oriented Principles
- S3
- S4
- Reference Classes
- Summary
Gaining Your 'tidyverse' Citizenship
5
Readings
- Overview
- Reuse existing data structures
- Compose simple functions with the pipe
- Embrace functional programming
- Design for humans
Summative Assessment
1
Peer Review
- Functional and Object-Oriented Programming
Auto Summary
Unlock the potential of R programming with the Advanced R Programming course, designed for professionals in Data Science & AI. Guided by expert instructors from Coursera, this comprehensive course delves into essential advanced R topics, including functional programming, robust error handling, object-oriented programming, and more. You'll gain the skills to create powerful, reusable data science tools and custom software tailored to your organization's unique data challenges. With a total duration of 1080 minutes, this professional-level course ensures you master the design of functions, debugging, profiling, and benchmarking. Additionally, you'll learn to define new data types in R, enhancing the efficiency and reusability of your data science tasks within your team. Opt for the Starter subscription to begin your journey toward advanced R programming expertise. Ideal for data science professionals seeking to elevate their programming skills and develop robust, mission-specific software solutions.

Roger D. Peng, PhD

Brooke Anderson