README.md

oneimpact

DOI

oneimpact provides tools for the assessment of cumulative impacts of multiple infrastructure and land use modifications in ecological studies. This includes tools to calculate the zone of influence (ZOI) of anthropogenic variables as well as tools for model fitting, estimation of the effect size and ZOI, and ancillary functions. The functions dealing with spatial data processing can be run in both R and GRASS GIS, using R as an interface. The tools available so far are:

Compute spatial layers representing zones of influence

The first set of functions in oneimpact are aimed at computing the (potential) ZOI of infrastructure or other spatial covariates. This means we use spatial information on where they are located to compute the density of features in space (i.e. the cumulative ZOI) and/or the (decay) distance to the nearest feature (i.e. the ZOI of the nearest), given an expected ZOI radius (i.e. the distance up to which a given feature is expected to affect a certain species or process). These functions do not estimate the ZOI, though (which is context and process dependent); for that see more functions further down.

Here are the main functions in oneimpact to compute spatial layers representing zones of influence.

Zone of influence (ZOI) decay functions

Compute zones of influence (ZOI)

Spatial filters

Estimate the cumulative impact and the ZOI of features on a certain species or process

The oneimpact package also allows us to, given a set of potential candidate ZOIs (with possibly different types, shapes, and radii; computed with the functions above), estimate the actual effect and ZOI of the variables on a certain species or process. This is done combining three elements:

Estimating ZOI - set up analysis

Functions to set up RSF and SSF analyses using ZOI variables:

Estimating ZOI - fit models

Functions to fit RSF and SSF and estimate ZOI using penalized regression

Estimating ZOI - interpret and visualize models

Functions to help interpreting parameters and visualizing cumulative impacts from bags of fitted models:

Installation

To install the development version of the oneimpact R package, please use:

library(devtools)
devtools::install_github("NINAnor/oneimpact", ref = "HEAD")

Run with Docker

docker run --rm -p 8787:8787 -e PASSWORD=rstudio -v $PWD/myproject:/home/rstudio/myproject ghcr.io/ninanor/oneimpact:main

If you use Compose:

docker compose run rstudio

You can customize docker-compose.yml based on your needs.

See also

For model fitting and estimation of ZOI, see the pacakage glmnet, which is the backbone of the modeling approach used in oneimpact. For other similar approaches, check the maxnet() for MaxEnt species distribution models using glmnet.

The oneimpact functions to compute the ZOI layers are greatly based on neighborhood analyses made through the terra package in R and on three GRASS GIS modules: r.mfilter, r.resamp.filter, and r.neighbors. The connection between R and GRASS GIS is made through the rgrass R package.

Meta



NINAnor/oneimpact documentation built on June 14, 2025, 12:27 a.m.