| load_occ | R Documentation | 
Load occurrence data from CSV file to perform modelling,
ensemble_modelling or stack_modelling.
load_occ(
  path = getwd(),
  Env,
  file = NULL,
  ...,
  Xcol = "Longitude",
  Ycol = "Latitude",
  Spcol = NULL,
  GeoRes = TRUE,
  reso = max(res(Env@layers[[1]])),
  verbose = TRUE,
  GUI = FALSE
)
| path | character. Path to the directory that contains the occurrence table. | 
| Env | raster stack. Environmental variables in the form of a raster stack used to
perform spatial thinning (can be the result of the
 | 
| file | character. File containing the occurrence table, if NULL (default) the .csv file located in the path will be loaded. | 
| ... | additional parameters given to  | 
| Xcol | character. Name of the Latitude or X coordinate variable. | 
| Ycol | character. Name of the Longitude or Y coordinate variable. | 
| Spcol | character. Name of the column containing species names or IDs. | 
| GeoRes | logical. If  | 
| reso | numeric. Resolution used to perform the geographical thinning,
default is the resolution of  | 
| verbose | logical. If  | 
| GUI | logical. Parameter reserved for graphical interface. | 
A data frame containing the occurrence dataset (spatially thinned or not).
load_var to load environmental variables.
## Not run: 
load_occ(path = system.file('extdata',  package = 'SSDM'), Env,
         Xcol = 'LONGITUDE', Ycol = 'LATITUDE',
         file = 'Occurrences.csv', sep = ',')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.