The data_chomp()
function "chomps" (subsets) a data frame of occurrence records to only
contain the following columns: "species", "longitude", and "latitude". After using this
function data will be ready for use in Maxent, for example.
Arguments
- df
Data frame of occurrence records returned from
gators_download()
.- accepted.name
The accepted species name for the records.
- longitude
Default = "longitude". The name of the longitude column in the data frame.
- latitude
Default = "latitude". The name of the latitude column in the data frame.