spTransform for map projection and datum transformation
spTransform(x, CRSobj, ...)
x
: object to be transformedCRSobj
: object of class CRS , or of class character
in which case it is converted to CRS...
: further arguments (ignored)object with coordinates transformed to the new coordinate reference system.
Package sf
provides the methods doing actual transformation.