Hi, I try to plot GWR coefficients using ggplot function (ggplot2) package, the function is the following: gwr.point1<-ggplot(LondonWards, aes(x=x,y=y))+geom_point(aes(colour=LondonWards$coefjobindex))+scale_colour_gradient2(low ="red", mid = "white", high = "blue", midpoint = 0, space = "rgb", na.value = "grey50", guide = "colourbar", guide_legend(title="Coefs"))gwr.point1+geom_path(data=boroughoutline,aes(long, lat, group=id), colour="grey")+coord_equal()
I get the message: Erreur : unexpected symbol in "plot(LondonWards, aes(x=x,y=y))+geom_point(aes(colour=LondonWards$coefjobindex))+scale_colour_gradient2(low ="red", mid = "white", high = "blue", midpoint = 0, space = "rgb", na.value = "grey5"
I don't know what is the problem with this sentence.
thanks for helping me