MyNixOS website logo
Description

Reconstruct Historical Forest Stand Conditions.

Reconstructs forest stand basal area and stem density at user-specified reference years using tree-level inventory data. The method estimates missing tree ages, back-calculates diameters using species-specific growth rates, and incorporates decay-class-based decomposition to infer mortality timing for dead trees. Results are returned in a tidy long format suitable for analysis and visualization.

standrecon: Reconstruct Forest Stand Conditions

R-CMD-check

The standrecon R package was created to summarize reference historical stand conditions by total basal area and tree density using contemporary field data.

The package implements a workflow for forest stand reconstruction using tree mortality information derived from decay classes and species-specific growth rates, following approaches described in the forest ecology literature.

Data sets using standard species codes (such as PIPO or PSME) can use built-in bark correction equations; custom equations may be supplied for other species.

Installation

You can install standrecon from CRAN with

install.packages("standrecon")

Alternatively, can install the development version of standrecon from GitHub with:

# install.packages("pak")
pak::pak("kriggithub/standrecon")

Example

The example below demonstrates how to reconstruct forest stand basal area and stem density at historical reference years using tree-level inventory data.

library(standrecon)

# Load example data included with the package
data(standrecon_example_data)

# Species-specific average radial growth (mm/year)
avg_inc <- c(
  PIEN = 0.5,
  ABBI = 0.3,
  PIPO = 0.4
)

# Reconstruct stand conditions
out <- standrecon(
  data = standrecon_example_data,
  meas_year = 2025,
  ref_year = c(1950, 1975),
  avg_inc_vec = avg_inc,
  plot_size = 1000
)

# View the first few rows of output (percentiles for sensitivity analysis)
head(out)
#>            type year percentile species basal_area stem_density
#> 1 reconstructed 1950       0.25    ABBI   26.92181          530
#> 2 reconstructed 1950       0.25    PIEN   30.76367          730
#> 3 reconstructed 1950       0.25    PIPO   18.15475          310
#> 4 reconstructed 1950       0.50    ABBI   26.26240          520
#> 5 reconstructed 1950       0.50    PIEN   29.70578          730
#> 6 reconstructed 1950       0.50    PIPO   17.41799          310
Metadata

Version

0.1.0

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    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-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • 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