saving . . . saved doubt in ggplot function has been deleted. doubt in ggplot function has been hidden .
doubt in ggplot function
Title
Question
ggplot(data = movies, mapping = aes( x = critics_score, y = audience_score),col = "blue")
geom_point()

only X and Y axis is drawn. but points are not drawn.


R Introduction-to-ggplot2 11-12 min 0-10 sec 01-05-20, 2:33 p.m. archana.naware@gmail.com

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. 
01-05-20, 5:19 p.m. sudhakarst
thank you
02-05-20, 12:58 a.m. archana.naware@gmail.com

Login to add comment


Log-in to answer to this question.