speciesData: Create dataframe of species presence from multiple raster...

View source: R/speciesData.R

speciesDataR Documentation

Create dataframe of species presence from multiple raster files

Description

Read raster files of multiple species and extract only the coordinates, where individuals are present

Usage

speciesData(species_names = NA, path = getwd(), filename = NA, ...)

Arguments

species_names

List with species names

path

Path to location of raster files

filename

Specify filename of output

...

Additional arguments: na: String used for missing values. Defaults to NA. Missing values will never be quoted; strings with the same value as na will always be quoted. append: If FALSE, will overwrite existing file. If TRUE, will append to existing file. In both cases, if file does not exist a new file is created. col_names: Write columns names at the top of the file?

Value

raster layer with species richness of files provided

Examples

## Not run: 
speciesData()

## End(Not run)

RS-eco/rasterSp documentation built on Jan. 24, 2023, 12:06 a.m.