Get in Touch

Course Outline

Day One

  1. Introduction to R & RStudio (2 hours)
    • Making R more user-friendly and exploring available GUIs
    • RStudio overview
    • Scripting in RStudio for government
    • Navigating, organizing sections, and using code folding in RStudio
    • Troubleshooting and debugging code in RStudio
    • Related software and documentation for government use
    • Accessing help with functions and features in R
    • Managing projects in RStudio for government
    • Creating analytical reports with RStudio for government
    • Utilizing keyboard shortcuts and useful features in RStudio
  2. Importing/Exporting Data (1 hour)
    • Flat files – txt, csv
    • Spreadsheet files – xls, xlsx
    • Data from SPSS, SAS, and other formats
    • Accessing data from SQL data sources for government
    • SQL database connectivity and operations for government
  3. Organizing Data (2 hours)
    • Data types and classes in R
    • Data storage in R – Rdata format for government
    • Understanding object structures in R
    • Working with numbers and vectors
    • Matrices and tables in R
    • Factors in data organization
    • Lists in R for data management
    • Data frames for structured data handling
    • Date and time data types in R
  4. Tabular Representation (3 hours)
    • Overview of packages for data tables – dplyr, tidyr, data.table
    • Using indexes and subscripts in R
    • Selecting and subsetting observations and variables
    • Filtering and grouping data in R
    • Recoding transformations in R
    • Reshaping data for analysis
    • Merging datasets in R
    • Character manipulation with the stringr package
    • Regular expressions for text processing in R

Day Two

  1. Related Software and Documentation (1 hour)
    • RStudio and GIT – version control for government projects
    • Markdown for documentation and reports
    • Creating reports and presentations with LaTeX
    • Developing Shiny web applications for government use
  2. R and Statistics (2 hours)
    • Probability and Normal Distribution in R
    • Generating random numbers in R
    • Descriptive statistics using R
    • Standardization and normalization techniques
    • Calculating confidence intervals with R
    • Hypothesis testing in R for government
    • ANOVA (Analysis of Variance) in R
    • Qualitative data analysis methods in R
  3. Linear Regression (2 hours)
    • Correlation coefficient and interpretation in R
    • Simple and multiple linear regression models
    • Estimation methods – Least squares in R
    • Model validation – testing for violations of assumptions
    • Selecting variables using different approaches in R
    • Regularization techniques – ridge and lasso regression
    • Generalized least squares for nonlinearity in R
    • Logistic regression models in R
  4. Graphical Procedures (2 hours)
    • Basic plots for single variables in R
    • Visualizations for two or more variables
    • Customizing graphical parameters in R
    • Creating special plots in R
    • Exporting plots to png, pdf, and jpeg files for government use
    • Extending R's graphical capabilities with ggplot2
  5. Help in R (1 hour)
    • Searching through R documentation
    • Exploring R packages and their documentation
    • Using R Cran Task View to find solutions for specific problems

Requirements

There are no specific prerequisites required for attendance in this course for government participants.

 14 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories