Species-Habitat Associations

Analyse species-habitat associations in R. Therefore, information about the location of the species is needed and about the environmental conditions. To test for significance habitat associations, one of the two components is randomized. Methods are mainly based on Plotkin et al. (2000) and Harms et al. (2001) .


shar 0.3.1

  • Improvements
    • Better structure of vignettes
    • Adding CONTRIBUTING.md
    • Trying to fix some failing tests for older R versions

shar 0.3

  • Improvements
    • plot_randomized_pattern() now uses envelopes to plot randomized summary functions
    • plot_randomized_pattern() includes a quantum bar
    • plot_randomized_pattern() now can return plots after each other (Press )
    • calculate_engery() can also calculate the energy for marked reconstructions
    • Improved warning messages
  • Bugfixes
    • Explicitly C++11 compiler
  • New functionality
    • plot_randomized_pattern() to plot randomized rasters

shar 0.2.1

  • Improvements
    • minor speed improvment for reconstruct_pattern(), reconstruct_marks() and calculate_energy()
      • The starting pattern is now identical for all n_random and only the relocation process differs between randomizations
      • All summary functions are only calculated for 250 steps from 0 to rmax
  • Bugfixes
  • New functionality
    • rcpp_sample() as a faster Rcpp implementation of sample()

shar 0.2

  • Improvements
    • Replaced cat() with message() for all printing to console
    • All defaults set to n_random = 1
    • comp_fast argument equals TRUE if number of points exceed threshold
    • reconstruct_pattern() stops if energy did not decrease for n iterations
    • reconstruct_marks() stops if energy did not decrease for n iterations
    • plot_randomized_pattern() can also plot point patterns
  • Bugfixes
    • Bug in fit_point_process() that more points as present could be removed from simulated pattern
    • Bug in reconstruct_pattern() that more points as present could be removed from simulated pattern

shar 0.1

  • First submission to CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2.1 by Maximillian H.K. Hesselbarth, 6 months ago


Report a bug at https://github.com/r-spatialecology/shar/issues/

Browse source code at https://github.com/cran/shar

Authors: Maximillian H.K. Hesselbarth [aut, cre] , Marco Sciaini [aut]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports classInt, graphics, grDevices, methods, raster, spatstat.core, spatstat.geom, stats, utils, Rcpp

Suggests covr, dplyr, testthat, knitr, rmarkdown, spatstat

Linking to Rcpp

See at CRAN