renamefields: Rename particular fields in a dataframe
Description
Several functions require a particular set of columns in the dataframe with specific names. If the columns in the dataframe do not have these names then they can be renamed. The fields that can be renamed include: ID (unique identifiers), x (x-coordinate), y (y-coordinate), Species (the species names column)
Usage
renamefields(dat, ID = "ID", x = "x", y = "y", Species = "Species")