ID<- c(11,12,13,14,15); ID
Gender<- c(1,1,2,1,2); Gender
Age<- c(19,22,20,21,22); Age
Score<- c(89,50,89,71,62); Score
Class<- c(7,7,8,7,9); Class
Data1<- data.frame (ID, Gender, Age, Score, Class)
boxplot(Data1, main = “Plot Boxplot”, col = “Blue”)
cor(Data1)
ID Gender Age Score Class
ID 1.0000000 0.5773503 0.6063391 -0.30602819 0.70710678
Gender 0.5773503 1.0000000 0.1400280 0.17668546 0.91855865
Age 0.6063391 0.1400280 1.0000000 -0.93115798 0.34299717
Score -0.3060282 0.1766855 -0.9311580 1.00000000 -0.05901671
Class 0.7071068 0.9185587 0.3429972 -0.05901671 1.00000000