Skip to contents

Data formats

Structure your data to make it ready to run the models.

cfp_gasdata()
Soil gas concentration data
cfp_soilphys()
Soil physical parameters data
cfp_layers_map()
Model layers
cfp_dat() as_cfp_dat()
Model input data

Filter and combine models

Flux models

Run different models on your data.

fg_flux()
Flux-gradient method
pro_flux()
Inverse model of production profiles
flux()
Re-run model

Model results

Extract derived parameters from models.

efflux()
Extract efflux rates
production()
Extract production rates
deepflux()
Extract flux rates from deep soil

Calibration

Run a parameter variation to calibrate the models.

alternate() alternate_model()
Run parameter variation
cfp_run_map()
Create a run plan for parameter variation
evaluate_models()
Evaluate model runs for calibration
error_concentration() error_efflux()
Estimate model error
cfp_altapply()
Apply a function over a list of models

Uncertainty estimation

Estimate the uncertainty of the model result via a bootstrapping approach.

Model frames

Objects that define and hold the results of the models. These functions are mostly internal.

cfp_altres()
Model runs as result of parameter variation
cfp_fgmod()
Model frame for fg_flux
cfp_fgres()
Model result of fg_flux
cfp_pfmod()
Model frame for pro_flux
cfp_pfres()
Model result of pro_flux

Profiles

Object types for soil profiles

cfp_profile()
Object for soil profiles
cfp_layered_profile()
Object for layered soil profiles

Data preparation

discretize_depth()
Interpolate over depth to layered profile
complete_soilphys()
(Re-)calculate soil physical parameters
check_soilphys()
Check for complete and correct soil physical parameters

Diffusion parameter

Extractors

Mathematical formulas

rmse() nrmse()
(Normalized) root mean square error
harm()
Harmonic mean
scale_min_median()
Scale a vector by its min and median

Utility

cfp_parameter()
Get parameter descriptions and units
plot_profile()
Plot profiles
season()
Get season of a date-time
depth_structure()
Unique layers depths
unique_gases()
Get the unique gases of an object
n_groups() n_profiles()
Get number of groups/profiles

Sensitivity analysis

Sensitivity analysis for model input parameter. Experimental.

sobol_run_map() experimental
Create a run plan for sobol indice calculation
sobol_calc_indices() experimental
Calculate sobol indices

Example data

base_dat
Example cfp_dat object
gasdata
Example soil CO2 concentrations
layers_map
Example cfp_layers_map object
soildiff
Example soil diffusion models
soilphys
Example cfp_soilphys object
soiltemp
Example soil temperature
soilwater
Example soil water content

Deprecated functions

balance_correction() deprecated
balance_correction
offset_correction() deprecated
offset_correction
offset_subsetting() deprecated
offset_subsetting
run_map() deprecated
run_map