0

Apologies, this is probably the simplest question. I'm having trouble making a scatterplot in R Studio. I am trying to see if amphipod counts are correlated to oxygen content. Whenever I plot this using:

    plot(Amphipod~Oxygen...ml.l.) 

I get a graph with boxes around certain points and I have no idea why. Only 5 points and I can't see anything different about those.

enter image description here

MrFlick
  • 195,160
  • 17
  • 277
  • 295
Mia
  • 1
  • 2
  • Please provide a [reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). It's hard to help if we can't see what you're looking at exactly. – MrFlick Mar 09 '16 at 03:17
  • Sorry! I added a link – Mia Mar 09 '16 at 03:22
  • It looks like your x-axis variable is actually a factor. You are plotting a box and whisker plot, not a true scatter plot. Double check your data types and try again. – MrFlick Mar 09 '16 at 03:26
  • Thanks! Turned out I had one value that was a word – Mia Mar 09 '16 at 03:33

0 Answers0