doubt in ggplot function
Title
Question
ggplot(data = movies, mapping = aes( x = critics_score, y = audience_score),col = "blue")
geom_point()
R Introduction-to-ggplot2 11-12 min 0-10 sec
Answers:
Please note that there is a + sign just before geom_point(), as given below:
ggplot(data = movies,
mapping = aes(x=critics_score,
y=audience_score)) +
geom_point()
Please try running the command given above.
Login to add comment