Working in R on a data frame with two columns, unit price, units sold as UP and US respectively. The more units sold the less the price tends to be. I am trying to plot this relationship any way I can in R.
I have played around with corr()
but cant seem to generate anything that makes sense.
The data looks like this:
What is the easiest way to plot this relationship?