changeCoords function

changeCoords: function used to change coordinate names.

changeCoords: function used to change coordinate names.

An internal function used to change the coordinate names for datasets.

changeCoords(data, oldcoords, newcoords)

Arguments

  • data: A list of datasets.
  • oldcoords: The old coordinate names.
  • newcoords: The new coordinate names.

Returns

A list of data.frame or spatial objects with the coordinate names changed.