CRAN/E | AnimalHabitatNetwork

AnimalHabitatNetwork

Networks Characterising the Physical Configurations of Animal Habitats

Installation

About

Functions for generating and visualising networks for characterising the physical attributes and spatial organisations of habitat components (i.e. habitat physical configurations). The network generating algorithm first determines the X and Y coordinates of N nodes within a rectangle with a side length of L and an area of A. Then it computes the pair-wise Euclidean distance Dij between node i and j, and then a complete network with 1/Dij as link weights is constructed. Then, the algorithm removes links from the complete network with the probability as shown in the function ahn_prob(). Such link removals can make the network disconnected whereas a connected network is wanted. In such cases, the algorithm rewires one network component to its spatially nearest neighbouring component and repeat doing this until the network is connected again. Finally, it outputs an undirected network (weighted or unweighted, connected or disconnected). This package came with a manuscript on modelling the physical configurations of animal habitats using networks (in preparation).

Key Metrics

Version 0.1.0
Published 2019-11-25 1613 days ago
Needs compilation? no
License GPL-3
CRAN checks AnimalHabitatNetwork results

Downloads

Yesterday 6 0%
Last 7 days 45 -27%
Last 30 days 212 +3%
Last 90 days 592 -29%
Last 365 days 2.628 -17%

Maintainer

Maintainer

Peng He

phe@ab.mpg.de

Authors

Peng He

aut / cre

Damien R. Farine

ths

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Imports

stats
igraph ≥ 1.2.4.1
ggplot2 ≥ 3.2.0