breathtestcore0.8.10 package

Core Functions to Read and Fit 13c Time Series from Breath Tests

AIC.breathtestnlmefit

S3 AIC method for breathtestnlmefit

augment.breathtestfit

Augmented prediction for breathtest fit

breathtest_data

Data structure with PDR data and descriptors for breath test records

breathtest_read_function

Snoop method to read breath test file

btcore_file

Path to example breath test data file

cleanup_data

Transforms 13C breath data into a clean format for fitting

coef_by_group

Tabulates per-group breath test parameters

coef_diff_by_group

Tabulates breath test parameter differences of groups

coef.breathtestfit

S3 coef and summary for breathtestfit

cum_exp_beta

Cumulative exponential beta function

dob_to_pdr

Convert breath test DOB data to PDR data

exp_beta

Exponential beta function for 13C breath data

extract_id

Extracts an ID from string IRIS CSV file

nlme_fit

Mixed-model nlme fit to 13C Breath Data

nls_fit

Individual curve fit with nls to 13C breath test data

null_fit

Convert data to class breathtestfit

plot.breathtestfit

S3 plot method for breathtestfit

read_any_breathtest

Read breathtest files of any format

read_breathid_xml

Read new BreathID/Examens XML file

read_breathid

Read BreathID file

read_breathtest_excel

Reads breathtest data in Excel format

read_iris_csv

Read 13C data from IRIS/Wagner Analysen in CSV Format

read_iris

Read 13C data from IRIS/Wagner Analysen

sigma.breathtestnlmefit

S3 method to extract the fit's residual standard deviation

simulate_breathtest_data

Simulate 13C breath time series data

subsample_data

Decimate densely sampled 13C time series

t50_bluck_coward

Bluck-Coward self-corrected half-emptying time

t50_maes_ghoos_scintigraphy

Half-emptying time t50 from Maes/Ghoos fit with scintigraphic correcti...

t50_maes_ghoos

Half-emptying time by Maes/Ghoos method

tidy.breathtestfit

Broom-style tidying methods for breathtestfit

tlag_bluck_coward

Lag phase for Bluck-Coward self-correcting fit

tlag_maes_ghoos

So-called lag time from Maes/Ghoos fit

Reads several formats of 13C data (IRIS/Wagner, BreathID) and CSV. Creates artificial sample data for testing. Fits Maes/Ghoos, Bluck-Coward self-correcting formula using 'nls', 'nlme'. Methods to fit breath test curves with Bayesian Stan methods are refactored to package 'breathteststan'. For a Shiny GUI, see package 'dmenne/breathtestshiny' on github.

  • Maintainer: Dieter Menne
  • License: GPL-3
  • Last published: 2025-10-28