I see the error
Error:Insufficient values in manual scale. 8 needed but only 4 provided
when I plot from the following code. If I exclude the geom_count layer the plot works, likewise if I exclude the geom_sf layer:
ggplot() +
geom_sf(data = roads %>% filter(simple_classification=="A Road" | simple_classification=="B Road"
| simple_classification=="Motorway" | simple_classification=="Minor"),
aes(colour=simple_classification)) +
scale_color_manual(values = road_colours, name="Roads",
breaks=c("Minor","A Road", "B Road", "Motorway"),
labels=c("Minor","A Road", "B Road", "Motorway")) +
geom_count(data=journey_origins,
mapping=aes(x=easting, y=northing, colour=types), alpha=0.5, position=position_jitter(height=65,width=65))
Many thanks for any advice