explore_espace: Exploration of data in enviornmental space

View source: R/explore_espace.R

explore_espaceR Documentation

Exploration of data in enviornmental space

Description

explore_espace helps in eploring the patterns of arrangement of species occurrence data and accessible areas in environmental space.

Usage

explore_espace(data, species, longitude, latitude, raster_layers,
               save = FALSE, name = "e_space_exploration.pdf",
               height = 8, width = 17, open = TRUE)

Arguments

data

data.frame of occurrence records. Columns must be: species, longitude, and latitude.

species

(character) name of the column with the name of the species.

longitude

(character) name of the column with longitude data.

latitude

(character) name of the column with latitude data.

raster_layers

RasterStack of at least two environmental variables to be extracted using geographic coordinates present in data.

save

(logical) whether or not to save the plot as pdf file.

name

(character) name (including the extention .pdf) of the PDF file to be created with the exploratory figures. Default = "e_space_exploration.pdf".

height

(numeric) height of the figure; default = 8.

width

(numeric) width of the figure; default = 17.

open

(logical) whether or not to open the file created directly. Default = TRUE

Value

A plot and a PDF document with figures to explore the data in environmental space, which could help to make desicions on which methods and variables are worth to explore during model calibration.


marlonecobos/ellipsenm documentation built on Oct. 18, 2023, 8:09 a.m.