height <- c(150 ,150 ,142 ,154 ,168 ,153 ,151 ,153 ,142 ,151) height colour <- c(“red”, “green”, “blue”, “red”, “green”, “red”, “green”, “blue”, “red” , “blue”) colour height[3] height[3:5] summary(height) var(height) sd(height) hist(height) survey <- c(“True”, “False”, “True”, “False”, “True”, “False”, “True”, “False”, “True”, “False”) survey table <- data.frame(colour, height, survey) table table[2,1] table[3,2] table[,3] table\(height class(table) class(table\)height) class(table$colour) AvgMaxpro <- c(1700, 2850, 5000, 900, 1000, 850, 5500, 6000, 3600, 5500) AvgMaxpro MariIncome <- c(6000, 6200, 6550, 5000, 5200, 4800, 6500, 6700, 6200, 6850) MariIncome TotalIncome <- c(8500, 9000, 13500, 8700, 8500, 9000, 14000, 13500, 18700, 21500) TotalIncome LandsCulti <- c(3, 5, 10, 4, 3, 5, 12, 10, 19, 20) LandsCulti table <- data.frame(AvgMaxpro, MariIncome, TotalIncome, LandsCulti) table table[,2] table[3:2] class(table) table <- data.frame() table MariIncome[4] TotalIncome[7] LandsCulti[5] AvgMaxpro[6] install.packages(“markdown”) library(markdown) hello world