enmtools.species: Defining a class for enmtools.species.

View source: R/enmtools.species.R

enmtools.speciesR Documentation

Defining a class for enmtools.species.

Description

Each species gets:

Usage

enmtools.species(
  range = NA,
  presence.points = NA,
  background.points = NA,
  species.name = NA,
  models = NA
)

save.enmtools.species(x, ...)

load.enmtools.species(x, ...)

Arguments

range

A raster or SpatialPolygon with the actual range they occur in

presence.points

A data frame with sampled localities

background.points

A data frame with absence/pseudoabsence/background localities

species.name

A character vector with the species name

models

A list of models that are made for the species, which will be stuffed in there as we go along to pass the check. This is used by internal enmtools functions to make sure the necessary data is present before processing anything.

x

Path to an enmtools.species file

...

Other arguments passed to R's load function

Value

Returns an enmtools.species object, either empty or populated with the parameter values that were passed into the function.

Functions

  • save.enmtools.species(): Save an ENMTools species object

  • load.enmtools.species(): Load an ENMTools species object


danlwarren/ENMTools documentation built on April 23, 2024, 3:12 p.m.