I'm running a basic plot function, but both the x and y axes only go from 1-5, so I want to show that a certain point is more frequent by increasing its size relative to the number of occurances. How would I accomplish this? I'm running base R.
plot(survey$Q24,survey$Q7, main = "X vs. Y",ylab = "Y",xlab = "X", pch = 20,bty = "l")
an image of my output: https://i.stack.imgur.com/GovwQ.png
dput(head(survey$Q7))
= c(5, 5, 4, 4, 5, 5)
dput(head(survey$Q24))
= c(1, 1, 1, 2, 1, 1)