I would like to make a plot with 2 different geometries each representing different data. I have three variables; Time (x), Temperature (y) and Station. I would like to represent some stations as geom_smooth and others as geom_line. Is there any way to tell them to represent only some values?
This is my code:
ggplot(data=StationsData,
mapping=aes(x=Time, y=Temp, colour=Station))+
geom_smooth()+
scale_color_brewer(palette = "Set1")+
labs(x="Time (Months)", y="Temperature (ºC)", title= "Temperature")
Thanks for your time.