Course Outline

Introduction and Preliminaries for Government

  • Enhancing R's User-Friendliness and Available GUIs
  • RStudio
  • Related Software and Documentation
  • R and Statistics
  • Using R Interactively
  • An Introductory Session
  • Getting Help with Functions and Features
  • R Commands, Case Sensitivity, etc.
  • Recall and Correction of Previous Commands
  • Executing Commands from or Diverting Output to a File
  • Data Permanency and Removing Objects

Simple Manipulations; Numbers and Vectors for Government

  • Vectors and Assignment
  • Vector Arithmetic
  • Generating Regular Sequences
  • Logical Vectors
  • Missing Values
  • Character Vectors
  • Index Vectors; Selecting and Modifying Subsets of a Data Set
  • Other Types of Objects

Objects, Their Modes and Attributes for Government

  • Intrinsic Attributes: Mode and Length
  • Changing the Length of an Object
  • Getting and Setting Attributes
  • The Class of an Object

Arrays and Matrices for Government

  • Arrays
  • Array Indexing. Subsections of an Array
  • Index Matrices
  • The array() Function
  • The Outer Product of Two Arrays
  • Generalized Transpose of an Array
  • Matrix Facilities
    • Matrix Multiplication
    • Linear Equations and Inversion
    • Eigenvalues and Eigenvectors
    • Singular Value Decomposition and Determinants
    • Least Squares Fitting and the QR Decomposition
  • Forming Partitioned Matrices, cbind() and rbind()
  • The Concatenation Function, (), with Arrays
  • Frequency Tables from Factors

Lists and Data Frames for Government

  • Lists
  • Constructing and Modifying Lists
    • Concatenating Lists
  • Data Frames
    • Making Data Frames
    • attach() and detach()
    • Working with Data Frames
    • Attaching Arbitrary Lists
    • Managing the Search Path

Data Manipulation for Government

  • Selecting, Subsetting Observations and Variables
  • Filtering, Grouping
  • Recoding, Transformations
  • Aggregation, Combining Data Sets
  • Character Manipulation, stringr Package

Reading Data for Government

  • Txt Files
  • CSV Files
  • XLS, XLSX Files
  • SPSS, SAS, Stata, and Other Formats Data
  • Exporting Data to Txt, CSV, and Other Formats
  • Accessing Data from Databases Using SQL Language

Probability Distributions for Government

  • R as a Set of Statistical Tables
  • Examining the Distribution of a Set of Data
  • One- and Two-Sample Tests

Grouping, Loops, and Conditional Execution for Government

  • Grouped Expressions
  • Control Statements
    • Conditional Execution: if Statements
    • Repetitive Execution: for Loops, repeat and while

Writing Your Own Functions for Government

  • Simple Examples
  • Defining New Binary Operators
  • Named Arguments and Defaults
  • The '...' Argument
  • Assignments Within Functions
  • More Advanced Examples
    • Efficiency Factors in Block Designs
    • Dropping All Names in a Printed Array
    • Recursive Numerical Integration
  • Scope
  • Customizing the Environment
  • Classes, Generic Functions, and Object Orientation

Graphical Procedures for Government

  • High-Level Plotting Commands
    • The plot() Function
    • Displaying Multivariate Data
    • Display Graphics
    • Arguments to High-Level Plotting Functions
  • Basic Visualization Graphs
  • Multivariate Relations with Lattice and ggplot Package
  • Using Graphics Parameters
  • Graphics Parameters List

Automated and Interactive Reporting for Government

  • Combining Output from R with Text
 14 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories