Learn R Programming

⚠️There's a newer version (0.5.0) of this package.Take me there.

grainscape

Efficient Modelling of Landscape Connectivity, Habitat, and Protected Area Networks

Given a landscape resistance surface, creates grains of connectivity and minimum planar graph models that can be used to calculate effective distances for landscape connectivity at multiple scales. This is a cross-platform reimplementation and update of the grainscape package (http://grainscape.r-forge.r-project.org).

Installation

From CRAN

install.packages("grainscape")

From GitHub

  1. Install development libraries: building packages from source requires the appropriate development libraries for your operating system.

See here for more details.

- *Windows:* install [Rtools](https://cran.r-project.org/bin/windows/Rtools/).
- *macOS:* install Xcode commandline tools from the terminal: `xcode-select install`. 
- *Debian/Ubuntu Linux:* ensure `r-base-dev` is installed.
  1. Install from GitHub:

    #install.packages("devtools")
    library("devtools")
    install_github("achubaty/grainscape")

Reporting bugs

Contact us via the package GitHub site: https://github.com/achubaty/grainscape/issues.

Copy Link

Version

Install

install.packages('grainscape')

Monthly Downloads

229

Version

0.4.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Alex Chubaty

Last Published

August 9th, 2019

Functions in grainscape (0.4.0)

goc-class

The goc class
corridor-class

The corridor class
GOC

Produce a grains of connectivity model at multiple scales (patch-based or lattice GOC)
distance

Find the grains of connectivity network distance
$

Extract or Replace Parts of an Object
MPG

Extract a minimum planar graph (MPG) model from a landscape resistance surface
corridor

Visualize corridors between two points using a grains of connectivity (GOC)
ggGS

Prepare data in MPG and grain objects for use with ggplot2
export

Export spatial data from MPG and GOC models
graphdf

Produce a data.frame containing the structure and associated attributes
gsMPGstitch

grainscape: Defunct
grainscape-package

Efficient Modelling of Landscape Connectivity, Habitat, and Protected Area Networks
show,goc-method

Show a grainscape object
theme_grainscape

A ggplot2 theme for grainscape
grainscape-maps

Test maps included with grainscape
point

Identify the polygons containing locations in grains of connectivity (GOC) tessellations
plot,corridor,ANY-method

Plot quick visualizations of grainscape objects
.habConnRcpp

Habitat connectivity engine (C++)
mpg-class

The mpg class
hce-class

The hce class
.habConnEngine

Habitat connectivity engine
gsGOC

grainscape: Deprecated
threshold

Produce a minimum planar graph (MPG) at multiple scales
grain

Extract a grain of connectivity (GOC) tessellation at a given scale
.gFinal

.gFinal
grain-class

The grain class
patchFilter

Filter out patches smaller than a specified area