When I run the following code I get an error:
g <- ggplot(movies, aes(votes, rating))
I was expecting a scatterplot of ‘votes’ and ‘rating’ to appear. What’s the problem?
- The object ‘g’ does not have a print method.
- The dataset is too large and hence cannot be plotted to the screen.
- There is a syntax error in the call to ggplot.
- ggplot does not yet know what type of layer to add to the plot.
Get All Week Quiz Answer: