Movatterモバイル変換


[0]ホーム

URL:


gastempt: Fittinggastric emptying curves

Dieter Menne
Menne Biomed Consulting Tübingen, Germany
https://www.menne-biomed.de
dieter.menne@menne-biomed.de

R build statusDownloadscodecov

A package and aShiny webapplication to create simulated gastric emptying data, and to analyzegastric emptying from clinical studies using a population fit with R andpackagenlme. In addition, Bayesian fits withStan to handle critical cases areimplemented.

Part of the work has been supported by section GI MRT, Klinik fürGastroenterologie und Hepatologie, Universitätsspital Zürich; thanks toWerner Schwizer and Andreas Steingötter for their contributions.

Download

The package is available fromCRAN and github(source,documentation). Toinstall, use:

devtools::install_github("dmenne/gastempt")

Compilation of the Stan models needs several minutes.

Shiny online interface

The web interface can be installed on your computer, or run asweb app.

Twomodels are implemented in the web interface

Methods with variants

Data entry:

Example

Program with simulated data (needs about 40 seconds till plotshows):

library(gastempt)dd = simulate_gastempt(n_records = 6, seed = 471)d = dd$dataret = stan_gastempt(d)print(ret$coef)print(ret$plot)
Screenshot

Installing Docker

Installinggastempt

docker run --name gastempt  --restart unless-stopped -p 3838:3838 -d dmenne/gastempt

[8]ページ先頭

©2009-2025 Movatter.jp