Big Data - Lab 1
Big Data - Lab 1
First Section
Lab Outcomes
1. What is R
2. Invoke the R environment and examine the R
workspace
3. R Basics
Introduction to R
What is R
▪ R is a free open-source package based on the
S language developed by Bell Labs
▪ Statistical Programming Language used to
develop statistical software
▪ Used by statisticians and data miners
▪ Many statistical functions are already built in
Why R
Example:
>DF <- data.frame (h=c(150,160), w=c(65,72))
>DF
h w
1 150 65
2 160 72
Objects | Accessing Data Frames
> DF[1] > DF[2]
h w
1 150 1 65
2 160 2 72
Q1: DF[1,2] ?
Q2:DF[-1,2] ?
Thank You