Learn R Programming

abmR: An R Package for Agent-based Model Analysis of Large-scale Movements Across Taxa

Benjamin Gochanour, Javi Fernandez Lopez, Andrea Contina

2021-04-28

Getting Started

Installation

To use abmR, you must first install it from Github using devtools and load the library:

devtools::install_github("bgoch5/abmR")
# If install gives errors, try running the following:
# Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")
library(abmR,quietly=TRUE,warn.conflicts=FALSE)

While this package is still in development, it will be updated frequently, so please be sure to re-install frequently. Installing abmR will also automaticaly install its dependencies, if you don’t already have them installed. These include raster, sp, table1, googledrive, swfscMisc, geosphere, kableExtra, and gtsummary, and ggplot.

Copy Link

Version

Install

install.packages('abmR')

Monthly Downloads

59

Version

1.0.10

License

GPL (>= 3)

Maintainer

Benjamin Gochanour

Last Published

August 27th, 2023

Functions in abmR (1.0.10)

ex_raster

Example Environmental Raster
get_ex_data

Downloads example NDVI data
moveVIZ

Creates a plot/table of moveSIM() results
tidy_results

Prints results from moveSIM() or energySIM() in an easier-to-read table.
energyVIZ

Creates a plot/table of energySIM() results
moveSIM

Runs agent-based model (ABM) movement simulations based on environmental data
as.species

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

Runs agent-based model (ABM) movement and energy budget simulations based on environmental data
energySIM_helper

Run energy-dynamic based model for one replicate
moveSIM_helper

Run model for one replicate