Adding a north arrow and scale bar

I am new to this community and to R. I am making a map and I need to add a north arrow and a scale. I have no idea how to do that.
I would appreciate any help/tips.

Official_Map<-ggplot() +
geom_spatraster(data=map.preds) + scale_fill_gradientn(colours=c('#ffffe5','#fee391','#fe9929','#cc4c02','#662506'), na.value=NA) +
labs(fill="Habitat suitability") +

Hi, see Spatial Data Framework for ggplot2 • ggspatial (

1 Like

This topic was automatically closed 7 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.