nameChanger function

nameChanger: function to change a variable name.

nameChanger: function to change a variable name.

An internal function used to change the name of a variable.

nameChanger(data, oldName, newName)

Arguments

  • data: A list of datasets.
  • oldName: The old variable name.
  • newName: The new variable name.

Returns

A list of data.frame or spatial objects with the name of the variable changes.