Skip to content
This package was removed from CRAN on 2025-11-27. Its history is shown below.
Reason: issues were not corrected despite reminders
Details below reflect version 0.1.0, its last release before removal.

AnimalHabitatNetwork

0.1.0Package record

Networks Characterising the Physical Configurations of Animal Habitats

0packages depend
–downloads / year
–test coverage
–flavors OK

Overview

About
Maintained by Peng HeCRAN page ↗

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).

Install

Health

CRAN checks

CRAN check results are not tracked yet.

Advisories

none known

Documentation

In release 0.1.0
READMEYes · 209 wordsVignettesNoNEWSYes · 33% structured · mentions 0.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
3
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
81%
Return-value docs
100%
Help pages citing references
0%

Downloads

Daily download trend is not available in this view yet.
Also on74 r2u8 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
–indirect (not tracked)

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Author, Maintainer since 0.1.0 (2019)
Thesis advisor
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • archivedRemoved from CRAN
    2025-11-27
    issues were not corrected despite reminders
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    2019-11-25
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-11-25
Total releases
1 / 7 yrs
License
GPL-3 OSI

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("AnimalHabitatNetwork")
He, P., & Farine, D. R. (n.d.). AnimalHabitatNetwork: Networks Characterising the Physical Configurations of Animal Habitats (Version 0.1.0) [Computer software]. Retrieved October 25, 2026, from https://CRAN.R-project.org/package=AnimalHabitatNetwork

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for AnimalHabitatNetwork version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy