I have a scatterplot I need to add a legend to. It looks like the code is correct but it isn't getting added. Any thoughts?
Dancenew<-subset(Dance, Type=="Lindy" | Type== "Blues" | Type=="Blues")
box.labels<-c("Lindy","Blues","Blues")
plot(Type~Count, pch=c(19,5,12), col=c("red","blue","green"), ylab="Dance Counts",
data=ausportnew, xlab="Dance Types", name=box.labels, main="Dancing for a Healthier You")
legend(Dancenew,c("Lindy","Blues","Contra"),pch=c(19,5,12),col=c("red","blue","green"))