reorganize_deme_sizes: Reorganize by deme size

View source: R/miscellaneous.R

reorganize_deme_sizesR Documentation

Reorganize by deme size

Description

Reorganizes by deme (gpm, gpf and msms) the element size (effective number of infections) in the solved demographic model

Usage

reorganize_deme_sizes(Nrep, Ntime, sizes)

Arguments

Nrep

integer for the number of replicates (number of combination of parameter values based on the posterior distribution)

Ntime

integer for the number of time points

sizes

list with sizes (effective number of infections) from the solved demographic model. This is the 4th element of the solved demographic model. Each element of the list is a list of vectors. Each row is a mcmc replicate and each column is a time point.

Value

a list for each deme (gpm, gpf and msm)

Examples

 #TO DO

thednainus/senegalHIVmodel documentation built on Oct. 14, 2024, 5:46 a.m.