Slip6
Write an R program to create a simple bar plot of five subject’s marks.
marks1 = c(40, 30, 80, 74)
barplot(marks,
main = "Comparing
marks of 5 subjects",
xlab = "Marks",
ylab = "Subject",
names.arg = c("English",
"Science", "Maths", "Clang"),
col = "darkred",
horiz = FALSE)