MyNixOS website logo
Description

Niche Climate Exposure.

Assesses niche climate exposure by interpreting projected climate change relative to the climate conditions a species currently occupies. Using occurrence records, range data or thresholded SDM suitability maps, current environmental rasters and future projections, the package separates climate change amount, change in distance to the current niche centre, composition change and exceedance beyond an empirical niche boundary.

climniche logo

climniche

R-CMD-check pkgdown

Website: https://bohao0813.github.io/climniche/

Pages: Examples | Reference | News

Niche climate exposure concept

climniche quantifies niche climate exposure: the amount and direction of projected climate change at cells currently associated with a taxon, measured relative to its realised climatic niche.

climniche separates four quantities in exposure maps:

  • climate_change_amount: how far climate moves between the current and future period;
  • niche_distance_change: whether future climate becomes closer to or farther from the realised niche centre;
  • composition_change: change in climate composition that does not mainly alter distance from the niche centre;
  • outside_niche_exceedance: how far future climate lies beyond an empirical boundary of current niche conditions.

Together, these quantities distinguish local environmental change from change that moves current occurrence, range, or SDM cells outside the realised niche.

Inputs and outputs

climniche accepts extracted environmental matrices and aligned raster or terra layers. The current reference cells can be supplied as occurrences, a range raster, or a continuous SDM suitability raster with a chosen threshold.

The outputs are cell-level tables, maps, exposure classes, variable contributions, report text, and figure data.

Basic use

library(climniche)

sim <- simulate_climniche()

fit <- fit_climniche(
  current = sim$current,
  future = sim$future_away,
  occupied = sim$occupied,
  center = sim$center,
  sensitivity = sim$sensitivity
)

climniche_summary(fit)
climniche_report(fit, species = "example species")
plot_climniche_diagram(fit)

For spatial data, use fit_climniche_raster() or fit_climniche_terra(). Both functions accept binary and continuous occupied rasters. domain can be used to restrict the calculation to a study area such as a marine region or a modelled accessible area.

Metadata

Version

0.0.1

License

Unknown

Platforms (79)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    wasip1
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasip1
  • wasm64-wasip1
  • x86_64-cygwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows