A repository for learning and practicing R programming, covering basics to advanced data analysis with examples and exercises.
Dive into R programming fundamental data structures!
A comprehensive introduction to R programming language covering fundamental concepts and data structures.
- Understand basic R syntax and data types
- Master vector and matrix operations
- Learn to handle categorical data with factors
- Work with real-world data using data frames
- Organize complex data using lists
- Mathematical operations (addition, subtraction, multiplication, division)
- Variable assignment
- Basic arithmetic functions
- Numeric
- Character
- Boolean/Logical
- Vector operations
- Vector creation and naming
- Vector arithmetic
- Vector sorting and selection
-
Matrices
- Creation and manipulation
- Real-world example using Star Wars box office data
- Matrix operations (addition, division)
-
Factors
- Categorical data handling
- Ordered and unordered factors
- Factor level manipulation
-
Data Frames
- Creating and managing tabular data
- Data selection and filtering
- Sample datasets: demographic data and planets information
-
Lists
- Mixed data type storage
- Named list operations
- Complex data structure manipulation