Other packages > Find by keyword >

AnimalHabitatNetwork  

Networks Characterising the Physical Configurations of Animal Habitats
View on CRAN: Click here


Download and install AnimalHabitatNetwork package within the R console
Install from CRAN:
install.packages("AnimalHabitatNetwork")

Install from Github:
library("remotes")
install_github("cran/AnimalHabitatNetwork")

Install by package version:
library("remotes")
install_version("AnimalHabitatNetwork", "0.1.0")



Attach the package and use:
library("AnimalHabitatNetwork")
Maintained by
Peng He
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-11-25
Latest Update: 2019-11-25
Description:
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).
How to cite:
Peng He (2019). AnimalHabitatNetwork: Networks Characterising the Physical Configurations of Animal Habitats. R package version 0.1.0, https://cran.r-project.org/web/packages/AnimalHabitatNetwork. Accessed 06 Aug. 2026.
Previous versions and publish date:
0.1.0 (2019-11-25 20:40), (2026-07-09 07:57)
Other packages that cited AnimalHabitatNetwork R package
View AnimalHabitatNetwork citation profile
Other R packages that AnimalHabitatNetwork depends, imports, suggests or enhances
Complete documentation for AnimalHabitatNetwork
Functions, R codes and Examples using the AnimalHabitatNetwork R package
Some associated functions: ahn_gen . ahn_plot . ahn_prob . 
Some associated R codes: ahn_gen.R . ahn_plot.R . ahn_prob.R .  Full AnimalHabitatNetwork package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA