Published December 8, 2025 | Version v2
Computational notebook Open

R scripts for statistical analysis and modelling of CO2 fluxes from portable flux chambers in the High Arctic Tundra

  • 1. ROR icon Institute of Geosciences and Earth Resources

Description

R scripts for statistical analysis and modelling of CO2 fluxes from portable flux chambers in the High Arctic Tundra.

The scripts are meant to be used to elaborate statistics and to visualise the results in tables and figures related to the manuscript "Identification of carbon dioxide drivers in a High Arctic tundra environment" by F. Avogadro di Valdengo et al., currently submitted for review.

In particular:

0.Descriptive Statistics & Table1_Table2_FigS2.R: Generates Table 1, Table 2 and Supplementary Figure 2 - based on the full dataset

1.Sample size & FigS1.R:  Calculates weighted mean and standard deviation with varying sample size and generates Supplementary Figure 1 - based on the full dataset

2.Model selection & TableS1_TableS2_Fig2.R:  Performs model selection and generates Tables S1 and S2 and Figure 2 (Predicted versus measured CO2 fluxes for the best non-linear (purple) and linear (green) models for a) ER and b) GPP)

3.Test transferability & Table6S3-S6_Fig4_Fig5.R:  Tests spatial and temporal transferability and generates Figure 4 (Estimated coefficients and standard errors of the estimate for the model of a) ER and b) GPP) and Figure 5 (Estimated coefficients and standard errors of the estimate for a) ER and b) GPP models), as well as table with model coefficients and goodness-of-fit statistics

4.Random split & Fig3.R: Random partitions the dataset, fits best models on random sets, and recalculate goodness-of-fit statistics.

 

Files

Files (57.8 kB)

Name Size Download all
md5:53da3939fc1052ce27887c2ed0d69a22
10.1 kB Download
md5:f11d36303110493696374ef41817dc3e
4.1 kB Download
md5:24c8582c34854832f91c5943018ed39f
18.1 kB Download
md5:229878e727240e03d43c77c09240645a
19.1 kB Download
md5:6ac510debdd054662c03fcd362d67e6c
6.3 kB Download

Additional details

Related works

Compiles
Dataset: https://zenodo.org/records/13284501 (URL)
Is supplement to
Dataset: https://zenodo.org/records/13284501 (URL)

Dates

Created
2025-09-02
creation date
Issued
2025-09-15
published

Software

Programming language
R
Development Status
Active