I am new to R and programming in general. I am trying to create BW vs. Amt plot and differentiate the datapoint but Sex using data collected.
However when I input the code:
ggplot(R_Graphdf, aes(x=Amt, y=BW))
ggplot(R_Graphdf, aes(x="Amt", y="BW", color="Sex")) + geom_point()
There are no datapoints on the graph (see below)
What am I doing wrong? When I use the exact same code with a given dataset, I graph comes out perfect. Should I adjust how I format my dataset?