Learn R Programming

PointedSDMs (version 2.1.3)

nameChanger: nameChanger: function to change a variable name.

Description

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

Usage

nameChanger(data, oldName, newName)

Value

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

Arguments

data

A list of datasets.

oldName

The old variable name.

newName

The new variable name.