Run the following code to create the data that we will use in the problem
ggplot2package to plot a histogram of
For this question, we’ll use the data
fertilizer_2000. A scatter plot is a useful way to visualize 2-dimensional data. Use the
ggplot2package to make a scatter plot with crop yield (
avyield) on the y-axis and fertilizer (
avfert) on the x-axis. Label the y-axis “Crop Yield” and the x-axis “Fertilizer”. Do you notice any pattern from the scatter plot?