Get in Touch

Course Outline

Introduction and Preliminaries

  • Making R more user-friendly, including available graphical user interfaces (GUIs) for government.
  • RStudio: An integrated development environment (IDE) for R.
  • Related software and documentation for government use.
  • R and its application in statistical analysis for government operations.
  • Using R interactively for efficient data manipulation and analysis in the public sector.
  • An introductory session to familiarize users with R's capabilities for government tasks.
  • Accessing help with functions and features within R for government applications.
  • R commands, case sensitivity, and other essential syntax elements for government analysts.
  • Recalling and correcting previous commands in R for enhanced workflow efficiency in the public sector.
  • Executing commands from or diverting output to a file for documentation and reporting in government.
  • Data permanency and managing object removal in R for secure data handling in government environments.

Simple Manipulations; Numbers and Vectors

  • Vectors and assignment operations for efficient data management in government datasets.
  • Vector arithmetic to perform calculations on large datasets for government analysis.
  • Generating regular sequences for structured data creation in government applications.
  • Logical vectors for conditional data filtering and manipulation in the public sector.
  • Handling missing values in R for accurate data reporting in government.
  • Character vectors for text data management in government datasets.
  • Index vectors for selecting and modifying subsets of a dataset for targeted analysis in government.
  • Other types of objects used in R for comprehensive data handling in the public sector.

Objects, Their Modes, and Attributes

  • Intrinsic attributes: Understanding mode and length for effective object management in government datasets.
  • Changing the length of an object to fit specific analytical needs in government applications.
  • Getting and setting attributes to enhance data structure and functionality in R for government use.
  • The class of an object to categorize and manage different types of data effectively in government operations.

Arrays and Matrices

  • Arrays: Multi-dimensional data structures for complex data analysis in government.
  • Array indexing: Accessing specific elements within arrays for detailed data manipulation in the public sector.
  • Index matrices: Advanced methods for selecting and modifying array subsections in government datasets.
  • The array() function: Creating and managing arrays for comprehensive data handling in R for government.
  • The outer product of two arrays for advanced mathematical operations in government applications.
  • Generalized transpose of an array to reorganize data structures efficiently in the public sector.
  • Matrix facilities:
    • Matrix multiplication for linear transformations and data analysis in government.
    • Linear equations and inversion for solving complex systems in R for government use.
    • Eigenvalues and eigenvectors for advanced statistical methods in government datasets.
    • Singular value decomposition and determinants for robust data analysis in the public sector.
    • Least squares fitting and the QR decomposition for regression analysis in government applications.
  • Forming partitioned matrices using cbind() and rbind() for efficient data organization in R for government.
  • The concatenation function, c(), with arrays for combining data elements in government datasets.
  • Frequency tables from factors to summarize categorical data in government analyses.

Lists and Data Frames

  • Lists: Flexible data structures for storing mixed types of data in R for government use.
  • Constructing and modifying lists:
    • Concatenating lists to combine multiple datasets in government applications.
  • Data frames:
    • Making data frames to organize tabular data effectively in government analyses.
    • attach() and detach(): Managing the visibility of data frame variables for efficient analysis in R for government.
    • Working with data frames to perform various data manipulation tasks in the public sector.
    • Attaching arbitrary lists to access multiple datasets simultaneously in government applications.
    • Managing the search path to control data availability and scope in R for government use.

Data Manipulation

  • Selecting, subsetting observations and variables to focus on specific data points in government datasets.
  • Filtering and grouping data for targeted analysis in the public sector.
  • Recoding and transformations to prepare data for advanced analyses in government applications.
  • Aggregation and combining data sets to create comprehensive reports in R for government use.
  • Character manipulation using the stringr package for text data processing in government datasets.

Reading Data

  • Txt files: Importing plain text data for analysis in government applications.
  • CSV files: Reading comma-separated values for structured data handling in R for government.
  • XLS, XLSX files: Importing spreadsheet data from Microsoft Excel for comprehensive data analysis in the public sector.
  • SPSS, SAS, Stata, and other formats: Converting data from various statistical software for use in R for government tasks.
  • Exporting data to txt, csv, and other formats for sharing and reporting in government operations.
  • Accessing data from databases using SQL language for efficient data retrieval in R for government.

Probability Distributions

  • R as a set of statistical tables for probability calculations in government analyses.
  • Examining the distribution of a set of data to understand variability and patterns in government datasets.
  • One- and two-sample tests for hypothesis testing and statistical inference in R for government use.

Grouping, Loops, and Conditional Execution

  • Grouped expressions for organizing complex data operations in government applications.
  • Control statements:
    • Conditional execution: Using if statements to control program flow in R for government tasks.
    • Repetitive execution: Utilizing for loops, repeat, and while for iterative data processing in the public sector.

Writing Your Own Functions

  • Simple examples to illustrate function creation in R for government use.
  • Defining new binary operators to extend R's functionality for specific government needs.
  • Named arguments and defaults for flexible function parameters in government applications.
  • The '...' argument for handling variable numbers of inputs in functions for comprehensive data processing in the public sector.
  • Assignments within functions to manage local and global variables effectively in R for government tasks.
  • More advanced examples:
    • Efficiency factors in block designs for optimizing experimental setups in government research.
    • Dropping all names in a printed array to simplify output for reporting in government datasets.
    • Recursive numerical integration for complex mathematical computations in R for government use.
  • Scope: Understanding variable visibility and lifetime in functions for efficient coding in the public sector.
  • Customizing the environment to tailor R settings for specific government applications.
  • Classes, generic functions, and object orientation for advanced data handling and analysis in R for government.

Graphical Procedures

  • High-level plotting commands:
    • The plot() function for basic visualizations in government datasets.
    • Displaying multivariate data to explore complex relationships in the public sector.
    • Display graphics: Creating high-quality visual representations of data for government reports.
    • Arguments to high-level plotting functions for customizing visual outputs in R for government use.
  • Basic visualization graphs for simple and effective data presentation in government analyses.
  • Multivariate relations with lattice and ggplot packages for advanced graphical analysis in the public sector.
  • Using graphics parameters to control plot appearance and layout in R for government tasks.
  • Graphics parameters list: A reference guide for customizing plots in government applications.

Automated and Interactive Reporting

  • Combining output from R with text to create comprehensive reports and documentation in the public sector.
 14 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories