nIndividuals3: Computes the number of individuals moving from a region to...

Description Usage Arguments Value

View source: R/nIndividuals3.R

Description

Computes the number of individuals moving from a region to another as a sum of multinomial varibales. It is an internal function that is called during the process of generating the Poisson multinomial distributed random values. This function cannot be directly called by users.

Usage

1
nIndividuals3(categories, cellNames)

Arguments

categories

a list of categories in the form region-devCount.

cellNames

A vector with the names of the regions.

Value

The sum of the multinomial variates.


bogdanoancea/aggregation documentation built on Nov. 29, 2020, 5:09 p.m.