I have a text document containing three columns. One column is "sex", and each value is either "M" or "F". The other two columns contain numerical data (my explanatory variable and response variable).
I want to create a Scatterplot in R where the point will look different for males than for females. I don't know how to do this.