Estimate and do inference on absolute abundance

The core top-level function in paramedic.

run_paramedic()

Run a Stan algorithm to estimate concentrations from combined absolute and relative abundance data

Print and summarize paramedic objects

Print and summary methods for objects of class paramedic.

print(<paramedic>)

Print method for paramedic objects

summary.paramedic()

Summary method for paramedic objects

Make predictions on new data

Using the posterior distribution from a paramedic fit, make predictions on new data using either a Stan model or R.

predict_paramedic()

Generate predictions based on a paramedic model fit

posterior_predict(<paramedic>)

Draw from the posterior predictive distribution

Process data and set up initial parameter values

Internal functions that ensure incoming data is valid and generates initial values to pass to stan

check_entered_data() make_paramedic_tibbles() make_paramedic_stan_data()

Prepare Data for Paramedic

process_data()

Process a dataset, returning observed abolute and relative abundance matrices

Extract estimates

Functions to extract point estimates and interval estimates from paramedic runs.

extract_posterior_summaries()

Extract posterior summaries from a hierarchical model fit

gen_wald_interval()

Generate a Wald-type prediction interval for qPCR

gen_quantile_interval()

Generate a Poisson-quantile-based prediction interval for qPCR

Example data

Load and describe example datasets

example_16S_data

Example relative abundance data

example_qPCR_data

Example abolute abundance data

simple_example_data

Simulated data from relative and absolute abundance views

Package documentation homepage

Landing page for R help

paramedic-package

The 'paramedic' package.