Overview
aelab is an R package for aquatic ecology data
analysis. It provides tools for:
- GHG flux calculation — process raw data from LI-COR
and LGR gas analyzers, calculate chamber flux, convert units, compute
Minimum Detectable Flux (MDF), and aggregate to CO₂-equivalents.
- Net ecosystem metabolism (NEM) — calculate gross
primary production (GPP), ecosystem respiration (ER), and net ecosystem
production (NEP) from high-frequency dissolved oxygen data.
- Statistical analysis — descriptive statistics,
outlier detection, normality testing, data transformation, one-way ANOVA
(Tukey HSD), and Kruskal-Wallis (Dunn post-hoc) with compact letter
display.
- Visualization — ggplot2-based plot wrappers (point,
line, box, bar) with a consistent theme and custom colour palettes.
Installation
The aelab package can be installed from:
- GitHub (development version):
# install.packages("devtools")
devtools::install_github("Zhao-Jun-Yong/aelab")
- CRAN (stable version):
install.packages("aelab")
Features
For a full walkthrough with worked examples and code output, see the
package vignette: