Learn R Programming

SDMtune (version 0.2.1)

SWD-class: Sample With Data

Description

Object similar to the MaxEnt SWD format that hosts the species name, the coordinates of the locations and the value of the environmental variables at the location places.

Arguments

Slots

species

character. Name of the species.

coords

data.frame. Coordinates of the locations.

data

data.frame. Value of the environmental variables at location sites.

pa

numeric. Vector with 1 for presence and 0 for absence/background locations.

Details

The object can contains presence/absence, presence/background, presence only or absence/background only data. Use the prepareSWD function to create the object.