Add text to map like raster::text()
st_txt(x, labels, halo = T, col = "black", hc = "white", hw = 0.1, ...)
sf object
character. Optional. Vector of labels with length(x) or a variable name from names(x)
logical. If TRUE a 'halo' is printed around the text. and hw=0.1 can be modified to set the colour and width of the halo
character. Text color. If halo = TRUE, default is'black'
character. Halo color. If halo = TRUE, default is 'white'
numeric. Halo width. If halo = TRUE, default is '0.1'
other arguments passed to text function
spatial text label