Learn R Programming

abmR (version 1.0.10)

as.species: Creates object of "species" class for input into moveSIM() and energySIM()

Description

Here we define the geographical origin of the agents whose movement we will be modeling.

Usage

as.species(x = NA, y = NA)

Value

Object of class "species" for input into moveSIM() or energySIM()

Arguments

x

Species origin longitude value (degrees). Required.

y

Species origin latitude value (degrees). Required.

Examples

Run this code
myspecies <- as.species(x = -98.7, y = 34.7)

Run the code above in your browser using DataLab