Introduction to �R and RStudio
Mukesh Behera
What is R ???
Requirement to use R
Installation of R
RStudio Installation
IDE for R
Example
Basic R Commands
# Arithmetic
2 + 3
5 * 4
6^2
# Variable assignment
x <- 10
y <- 5
z <- x + y
# Printing outputprint
(z)
Data Types in R
# Numeric:
x <- 10
# Character:
name <- "John"
# Logical:
flag <- TRUE
# Vectors:
v <- c(1, 2, 3)
# Data Frames:
data.frame(name, age)
Basic Data Manipulation
Loading Data
Plotting Basics
Variables and Operations
Vectors and Sequences
Working with Data Frames
Conditional Statements
Loops
Plotting
Installing and Loading Packages
Cleaning and Filtering Data (with dplyr)
Reference
Thank You