pad_infection_model_prior_parameters: Pad par_tab with Beta distribution shape parameters

View source: R/helpers.R

pad_infection_model_prior_parametersR Documentation

Pad par_tab with Beta distribution shape parameters

Description

Pads par_tab with a new row for each infection epoch, such that each epoch has its own shape1 and shape2

Usage

pad_infection_model_prior_parameters(par_tab, n_times)

Arguments

par_tab

as per usual

n_times

the number of additional rows to add for each alpha and beta

Examples

n_times <- 40
data(example_par_tab)
new_par_tab <- pad_infection_model_prior_parameters(example_par_tab, n_times)

seroanalytics/serosolver documentation built on Dec. 14, 2024, 5:33 a.m.