- R Tutorials
- R Tutorial
- R Script File
- R Working Directory
- R Data Types
- R Variables
- R Operators
- R Decision Making
- R Loops
- R Functions
- R Strings
-
R Vectors
- Create Vectors
- R – Create Vector
- R – Logical Vectors
- R – Integer Vectors
- R – Double Vectors
- R – Character Vectors
- Access Vectors
- R – Vector length
- R – Access items in Vector
- R – Iterate over items of Vector
- R – Delete items at specific indices from Vector
- Sorting
- R – Sort Vector
- Vector Operations
- R – Vector Arithmetic Operations
- R – Get Type of Vector
- R – Reverse Vector
- R – Vector Recycling
- Vector Checks
- R – Check if specific item is present in Vector
- R – Check if type of Vector is Logical
- R – Check if type of Vector is Integer
- R – Check if type of Vector is Double
- R – Check if type of Vector is Character
- Conversions
- R – Convert Logical Vector into Integer Vector
- R – Convert Character Vector into Integer Vector
-
R Lists
- List Basics
- R – Create empty List
- R – Create empty List of specific length
- R – Create List
- R – Name elements of List
- R – Access elements of List
- R – List length
- R – Append item to List
- R – Loop through items in List
- List Transformations
- R – Reverse List
- List Checks
- R – Check if List is empty
- R – Check if specific item is present in List
- One or More Lists
- R – Join Lists
- List Conversions
- R – Convert List to Vector
- R – Convert List to Data Frame
-
R Matrix
- R – Create Matrix
- R – Check if R object is a Matrix
- R – Get element at given row, column of Matrix
- R – Get specific row of Matrix
- R – Get specific column of Matrix
- R – Get multiple rows of Matrix
- R – Get multiple columns of Matrix
- R – Matrix multiplication
- R – Transpose Matrix
- R – Inverse Matrix
- R – Correlation Matrix
-
R Data Frame
- Create Data Frame
- R – Create empty Data Frame
- R – Create Data Frame
- Read Elements / Rows / Columns
- R – Access element at (i,j) in Data Frame
- Rows / Columns
- R – Get number of rows in Data Frame
- R – Get number of columns in Data Frame
- R – Add row to Data Frame
- R – Add column to Data Frame
- R – Remove row(s) in Data Frame
- R – Delete duplicate rows in Data Frame
- R – Remove NA Rows in Data Frame
- R – Delete column(s) in Data Frame
- Modify
- R – Reset row numbers of Data Frame
- R – Replace NA with 0 in Data Frame
- R – Rename column(s) of Data Frame
- Sorting
- R – Sort Data Frame by column
- Filtering
- R – Filter Data Frame with NA rows
- Conversions
- R – Convert List to Data Frame
- R – Convert Data Frame to Matrix
- R – Convert Matrix to Data Frame
- Transformations
- R – Apply function for each row in Data Frame
- Two or More Data Frames
- R – Combine Data Frames
- R – Compare Data Frames
- Import / Export
- R – Import Excel to Data Frame
- Others
- R – Structure of Data Frame
- R – Summary of Data Frame
- R Date and Time