| shift_border | R Documentation | 
This functions takes in a border and can either shift, shrink, or rotate it. All of them can be done together as well.
This usually takes a bit of trial and error, so make sure to plot the result each time.
For a detailed walk through check out the according vignette: vignette(shifting_borders).
shift_border(
  border,
  operation = c("shift", "scale", "rotate"),
  shift = c(0, 0),
  scale = 1,
  angle = 0
)
| border | sf object with line geometry | 
| operation | 
 | 
| shift | if  | 
| scale | if  | 
| angle | if  | 
a new border in the form of an sf object
shift_border(border = cut_off, operation = c("shift", "scale"),
shift = c(-5000, -3000), scale = .85)
shift_border(border = cut_off, operation = "rotate", angle = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.