
Outline:
What is R
History of R
Switching to R
Installing R
Installing RStudio
Lecture - 02 Help, Demonstration, Examples, Packages and Libraries
OUTLINE
Starting with R
Getting Help in R
Worked Examples of Functions
Demonstration of R Functions
Libraries in R
Installing Packages and Libraries
Lecture - 03: Command line, Data Editor and RStudio
OUTLINE
Command Line versus Scripts
Data Editor
Cleaning up the Windows
Introduction to RStudio
Lecture - 04: Basics and R as a Calculator
OUTLINE
Basics
R as a Calculator
Multiplication and Division
Addition and Subtraction
Tips
Lecture - 05: Basics of Calculations- R as Calculator, Built in Functions and Assignments
OUTLINE
Integer Division
Modulo Division
Built in Functions
Assignments
Tips
Lecture- 06. Basics of Calculations: Functions and Matrices
OUTLINE
Functions- Introduction
Functions - Single Variable
Functions - Two Variables
Matrices
Tips
Lecture-07. Basics of Calculations: Matrix Operations
OUTLINE
Properties of a Matrix
Help on the object “Matrix”
Matrix Operations
Tips
Lecture - 08. Basics of Calculations: Matrix Operations (Part-2)
OUTLINE
Matrix Multiplication
Cross product of a matrix
Addition and Subtraction of matrices
Inverse of a matrix
Eigen Values and Eigen Vectors
Tips
Lecture -09. Missing Data and Logical Operators
OUTLINE
Missing data
Logical Operators and Comparisons
Examples
Tips
Lecture-10. Logical Operators
OUTLINE
Logical Operators and Comparisons
Examples
Tips
Lecture-11: Truth Table and Conditional Executions
OUTLINE
Example of Standard Logical Operations-Truth Table
Control structures in R
Tips
Lecture-12: Conditional Executions and Loops
OUTLINE
Conditional Execution
for loop
while loop
repeat loop
Tips
Lecture -13: DATA MANAGEMENT: SEQUENCES
OUTLINE:
Sequences-Introduction
Syntax
Examples
Tips
Lecture-14: DATA MANAGEMENT-SEQUENCES (Cont'd.)
OUTLINE
Sequences-vectors
Sequences-dates
Sequences-letters
Sequences-alphabets
Tips
Lecture-15: DATA MANAGEMENT-REPEATS
OUTLINE
Repeat-Introduction
Repeat-Syntax
Repeat-Help
Repeat-An object n-times
Repeat-Repetition of characters
Tips
Lecture-16: DATA MANAGEMENT-SORTING AND ORDERING
OUTLINE
Introduction
Sorting-Syntax
Sorting-Examples
Ordering-Syntax
Ordering-Examples
Tips
Lecture-17: DATA MANAGEMENT- LISTS
OUTLINE
Lists-Introduction
Lists-Mode
Mode-Examples
Lists-Help
Lists-Examples
Tips
Lecture-18: DATA MANAGEMENT-VECTOR INDEXING
OUTLINE
Vector Indexing-Introduction
Vector Indexing-Positive Integers
Vector Indexing-Logical Vector
Vector Indexing-Negative Integers
Vector Indexing-String Vector
Vector Indexing-Empty Index
Vector Indexing-Matrices created from empty Lists
Tips
Lecture-19: DATA MANAGEMENT-FACTORS
OUTLINE
Categorical Variables
Factors-Introduction
Factors-Syntax
Factors-Help
Factors-Examples
Factors-uncalss function
Factors-uncalss function examples
Tips
Lecture-20: STRINGS-DISPLAY AND FORMATTING: PRINT AND FORMAT FUNCTIONS
OUTLINE
Strings
Formatting and Display of Strings
Examples
Tips
Lecture-21. STRINGS-DISPLAY AND FORMATTING: PRINT AND FORMAT WITH CONCATENATE
OUTLINE
Introduction
cat function
Examples
Tips
Lecture-22. STRINGS-DISPLAY AND FORMATTING: PASTE FUNCTION
OUTLINE:
Introduction
Paste function-Syntax
Examples
Tips
Lecture-23. STRINGS-DISPLAY AND FORMATTING: SPLITTING
OUTLINE
Introduction
Operations with Strings
Examples
Tips
Lecture-24. STRINGS-DISPLAY AND FORMATTING: Replacement and Manipulations with Alphabets
OUTLINE
Introduction
Operations with Strings
Examples
Tips
Lecture-25. STRINGS-DISPLAY AND FORMATTING: Replacement and Evaluation of Strings
OUTLINE
Introduction
Operations with Strings
Examples
Tips
Lecture-26: DATA FRAMES
OUTLINE
Data Frames-Introduction
Package-MASS
Working with the data set-painters
Examples
Tips
Lecture-27. DATA FRAMES (Cont'd.)
OUTLINE
Data Frames-Testing
Creating data frames
Structure of the data
Extraction of the data
Summary function
Plot and Graphics of the data
Tips
Lecture-28: DATA FRAMES (Cont'd.)
OUTLINE
Attaching a data frame
Summary function
Detach function
Subset function
Split function
Tips
Lecture-29. DATA HANDLING: Importing CSV and Tabular Data Files
OUTLINE
Setting up directories
Importing Data Files
From Internet
CSV (Comma-Separated-Values) files
Reading Tabular Data
Tips
Lecture-30. DATA HANDLING: Importing data Files of Other Software and Redirecting Output
OUTLINE:
Importing Data Files
Spreadsheet (Excel) file data
SPSS data file
Other data files
Contents of working directory
Redirecting Output to a File
Writing to CSV files
Tips
Any scientific task without the knowledge of software is difficult to imagine and complete in the current scenario. R is a free software that is capable of handling mathematical and statistical manipulations. It has its own programming language as well as built in functions to perform any specialized task. We intend to learn the basics of R software in this course.
All industries involved in mathematical and statistical computations, programming and simulations and having R & D setup will use this R Programming course.