
Package index
Input & data construction
Functions to validate a multirates input and build the corresponding Stan data list.
-
init_multirates() - Create a PEPI object for the unified multirates model.
-
check_input_multirates() - Check if multirates input data has the correct form.
-
build_stan_data_multirates() - Build the Stan data list for the unified multirates model.
-
fit_multirates() - Fit the unified multirates model.
-
get_posterior_multirates() - Extract and tidy the full posterior (and built-in prior draws) from a multirates fit.
-
get_predicted_trajectories() - Get posterior predictive trajectories of the sorted populations.
-
get_init_values() - Provide a initialization parameters for a PEPI VAF fit
-
plot_prior_posterior() - plotting functions Plot prior and posterior distributions of the model parameters.
-
plot_posterior_predictive() - Plot all posterior predictive checks.
-
plot_fractions() - Plot the posterior predictive fraction of "+" cells in the whole population.
-
plot_counts() - Plot the posterior predictive total population size.
-
plot_split() - Plot the posterior predictive "+"/"-" split of each population.
-
plot_ccf() - Plot the posterior predictive CCF of each population in the sorted samples.
-
plot_diagnostics() - One-call convergence dashboard.
-
plot_trace() - Trace plots of the sampled chains.
-
plot_rhat() - Rhat (potential scale reduction factor) overview.
-
plot_ess() - Effective sample size (ratio to total draws) overview.
-
plot_acf() - Autocorrelation of the sampled chains.
-
plot_divergences() - Divergent transitions.
-
plot_energy() - Hamiltonian Monte Carlo energy diagnostic.
-
plot_treedepth() - NUTS treedepth diagnostic.
-
plot_pairs() - Pairs plot with divergences marked.