Y-axis scale in Rstudio

I copied the code you edited in that post in my script and ran it, and it worked! This is the graph I was trying to make. Thank you so much for your help!