I want to plot a graph of this (see below), but after subsetting, R is plotting all variables, but only the data of the selected ones.
test<-subset(OrchardSprays,treatment == "A")
plot(test$treatment, test$decrease)
So is there a way to plot only the variable that I want without deleting it in my original data frame?
I don't want this!