incomplete expression Eror in geom_point

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

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.