Here, we will first use the
for obtaining various kinds of plots. To keep the story short, we are using the earlier datasets only and hence, a reproduction of the similar plots using
qplot won't be displayed. The reader is encouraged to check
?qplot and its examples.
test <- data.frame(rep(c("R1","R2"),each=8),c(resistivity[,1], resistivity[,2])) names(test) <- c("RES","VALUE") qplot(factor(RES),VALUE,data=test,geom="boxplot")
gplot function needs to be explicitly specified that RES is a factor variable and according to its levels, we need to obtain the boxplot for the resistivity values. ...