  ## Course content1. Introduction 2. Getting Started With R

• The RStudio Interface

• Installing and Activating R Packages

• Setting the Working Directory

• Basic Operations in R

•  Working With Variables

3. Vectors

•  Creating Vectors With the c() Function
• Creating Vectors Using the Colon Operator
•  Creating Vectors With the rep() Function
•  Creating Vectors With the seq() Function
• Creating Vectors of Random Numbers
•  Creating Empty Vectors
•  Indexing Vectors With Numeric Indices
•  Indexing Vectors With Logical Indices
• Naming Vector Components
•  Filtering Vectors
•  The Functions all() and any()
•  Sum and Product of Vector Components
•  Vectorized Operations
•  Treating Missing Values in Vectors
•  Sorting Vectors
•  Minimum and Maximum Values
•  The ifelse() Function
•  Testing Vector Equality
•  Vector Correlation
•  Bonus Lecture: Learn Statistics with R
•  Practical Exercises

• ## Practical Exercises

5. Lists

•  Create Lists With the list() Function
•  Create Lists With the vector() Function
•  Indexing Lists With Brackets
•  Indexing Lists Using Objects Names
•  Editing Values in Lists
•  Adding and Removing List Objects
•  Applying Functions to Lists
• Practical Example of List: the Regression Analysis Output
•  Bonus Lecture: Data Analysis in R
•  Practical Exercises

• ## Practical Exercises

7. Data Frames

•  Creating Data Frames
•  Writing Data Frames in External Files
•  Indexing Data Frames As Lists
•  Indexing Data Frames As Matrices
•  Selecting a Random Sample of Entries
•  Filtering Data Frames
•  Editing Values in Data Frames
• Adding Rows and Columns to Data Frames
•  Naming Rows and Columns in Data Frames
• Applying Functions to Data Frames
•  Sorting Data Frames
•  Shuffling Data Frames
•  Merging Data Frames
•  Practical Exercises

• ## Practical Exercises

10. Plotting in Base R

•  Building Scatterplot Charts
•  Setting Graphical Parameters (1)
• Setting Graphical Parameters (2)
•  Adding a Trend Line to a Scatterplot
•  Building a Clustered Scatterplot
•  Plotting a Line Chart
•  Setting the Line Parameters
• Overplotting Lines and Dots
•  Plotting Two Lines in the Same Chart
•  Plotting Bar Charts
• Setting the Bar Parameters
• Plotting Histograms
• Plotting Density Lines
•  Plotting Pie Charts
•  Plotting Boxplot Charts
•  Plotting Functions
•  Exporting Charts
•  Bonus Lecture: More Advanced Plotting
•  Practical Exercises
• R Files and Data Frames