sp_temporal_data: Function create a Species Temporal Data object (STD object).

Description Usage Arguments Value

View source: R/sp_temporal_data.R

Description

This function creates Species Temporal Data object.

Usage

1
2
3
sp_temporal_data(occs = NA, longitude = NULL, latitude = NULL,
  sp_year_var = NA, layers_by_year_dir = NA, layers_ext = "*.tif$",
  reclass_year_data = TRUE)

Arguments

occs

A data.frame or a SpatialPointsDataFrame with coordinates of the occurrence records. The data must have a time variable indicating the year of each observation.

longitude

If occs is a data.frame the user must indicate the variable name of logitude data.

latitude

If occs is a data.frame the user must indicate the variable name of latitude data.

sp_year_var

A time variable indicating the year of each observation.

layers_by_year_dir

El directorio que contiene las carpetas donde estan las capas raster que se usaran para modelar; estas deben estar clasificadas por anio.

layers_ext

Extension de los archivos de las capas raster.

reclass_year_data

Logico. Si TRUE aquellos datos cuyos registros no coincidan con los anios de las capas de modelamiento seran reclasificados.

Value

Returns un sp.temporal.modeling object (list) con las coordenadas de los puntos de presencia, los anios las observaciones, el path de las capas temporales.


luismurao/hdm documentation built on May 24, 2019, 5:06 a.m.