reorganize_deme_sizes: Reorganize by deme size

Description Usage Arguments Value Examples

View source: R/miscellaneous.R

Description

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

Usage

1
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

1
 #TO DO

thednainus/senegalHIVmodel documentation built on Oct. 28, 2021, 3:11 p.m.