1. Matrices
userName <- c("Lam Wei Wei", "Zheng Da Shi", "Lin Da You", "Fei Gu Man", "Chen Kuang", "Wong wei yun")
salary <- c(8500, 9800, 12500, 15000, 8700, 7500)
jobPosition <- c("Staff", "Manger", "BOSS", "CEO", "Staff", "Staff")
bonus <- c(2300, 1350, 3285, 1035, 3285, 1035)
MixInfo = c(salary, jobPosition, bonus)
result <- matrix(MixInfo, ncol=6, byrow=TRUE)
colnames(result) <- userName
rownames(result) <- c("salary", "jobPosition", "bonus")
result