In this chapter, we will cover a number of functions , commands and packages used for data management in R
There are six different data types in R including
Vectors are the fundamental components for all data types in R. Based on the scale in measurement, they can be categorized into six different components including:
1.character 2.Orders 3.factors 4.Integers 5.numeric 6.logical
x<-c(12,11.5,12.5,13.5,21,23,24,21,25,26)
plot(x)
hist(x)
boxplot(x)
y<-c(T,T,T,T,F,F,F,F,T,F)
table(y)
## y
## FALSE TRUE
## 5 5
barplot(y)