The next exercises are an introduction to Processing Data in R. We Start with raw data or unorganized data.
February 5, 2015
The next exercises are an introduction to Processing Data in R. We Start with raw data or unorganized data.
To read or enter Data in R, It should be consider data numerical and Data Categorical. Numerical :
x<-rnorm(1:1000)
For Categorical Data:
y<-c("Jan","feb","March")
THE MEAN:
mean(x)
## [1] -0.03218396
The Median:
median(x)
## [1] -0.0507278
Calculating the variance
var(x)
## [1] 0.9869536
Calculating the Standard Deviation
sd(x)
## [1] 0.9934554
plot(x)