📘 Unit 1 – Introduction to R Programming for Data Analysis
Comprehensive guide for MBA students to master R programming fundamentals
1. Getting Started with R
- What is R and why use it? Learn More
- Installation of R and RStudio Learn More
- RStudio interface (console, script, environment, plots, packages, help) Learn More
- Basics of R syntax (case sensitivity, comments, operators) Learn More
- Import, export, and viewing files (CSV, Excel, TXT, etc.) Learn More
- Saving and managing files/projects Learn More
2. Data Types in R
- Overview of R data types Learn More
- Character, Numeric, Integer, Logical, Complex Learn More
- Appropriate uses of different data types Learn More
- Type conversion (as.numeric, as.character, etc.) Learn More
- Checking types with typeof(), class(), is.numeric(), etc. Learn More
3. Data Structures in R
- Scalars and Vectors Learn More
- Lists Learn More
- Matrices Learn More
- Arrays Learn More
- Data Frames Learn More
- Operations on data structures (creation, indexing, slicing, subsetting) Learn More
- Practical examples Learn More
4. Program Structure in R
- Writing and executing scripts Learn More
- Variables and naming rules Learn More
- Operators (arithmetic, relational, logical, assignment) Learn More
- Concatenation of data (c()) Learn More
- Combining variables (cbind(), rbind()) Learn More
5. Flow Control in R
- Conditional statements: if, if-else, ifelse() Learn More
- Loops: for, while, repeat Learn More
- Break and next statements Learn More
- Examples of flow control in data analysis Learn More
6. Apply Family Functions
- apply() Learn More
- sapply() Learn More
- lapply() Learn More
- tapply() Learn More
- Use cases in data analysis Learn More
- Differences and when to use which Learn More
7. Data Analysis in R
- Aggregate Function in R Learn More
- Counting Missing Values using is.na() Function in R Learn More
- Data Import, Plotting, and Cleaning Learn More
- Understanding Univariate and Multivariate Data Learn More
- How to Change Column Names in R Learn More
- How to Filter Data in R Learn More
- How to Remove a Column from a Dataset in R Learn More
- How to Sort Data in R Learn More
- How to Bind Columns in R Learn More
- Exploring Built-in Datasets in R Learn More

