Hi
Why does it show this Error When I type this code ?
ggplot (data=iris,mapping= aes(x=Sepal.Length, y=Sepal.Width))+
geom_point(color="green", alpha=.8 , size=4)+
geom_smooth(method= "lm", se=FALSE, size=2)+
scale_y_continuous(breaks=seq (0,5,.5),label=scales::dollar)+
scale_x_continuous(breaks=seq (0,7,.5))+
facet_wrap(~ Species)+
labs ( title = "Relationship Between Sepal.Length and Sepal.Width",
Subtitl= "curent population survay",
caption= "source://...,
x= length of sepls,
y= width of sepals
)+
theme_minimal()
Error: Incomplete expression: ggplot (data=iris,mapping= aes(x=Sepal.Length, y=Sepal.Width))+
geom_point(color="green", alpha=.8 , size=4)+geom_smooth(method= "lm", se=FALSE, size=2)+
scale_y_continuous(breaks=seq (0,5,.5),label=scales::dollar)+
scale_x_continuous(breaks=seq (0,7,.5))+
facet_wrap(~ Species)+
labs ( title = "Relationship Between Sepal.Length and Sepal.Width",
Subtitl= "curent population survay",
caption= "source://...
x= length of sepls,
y= width of sepals
)+
theme_minimal()
Thank you in advance