Function used to generate absences for data coming from lists. This function takes all the sampling locations from all the species obtained from a given dataset, and generates an absence if a species does not occur at a given location.
generateAbsences(
dataList,
datasetName,
speciesName,
responseName,
Projection,
Richness
)
A List of data objects for the dataset.
The name of the dataset.
The name of the species variable name.
The name of the response variable name.
Coordinate reference system used.
Generate absences for the richness model.