This takes an sf object with coordinates in -180 to 180 and converts it to an object 0 to 360 (like the ones used in climate model outpt)

st_rotate(x)

Arguments

x

an sf object

Value

the same object, with coordinates rotated