multinom: Multinomial state transition sampler

Description Usage Arguments Details Examples

View source: R/Multinom.R

Description

Ensures arrivals to or departures from a model state have only one source / destination

Usage

1

Arguments

x

a multi-dimentional list with level 1 giving the input and output processes and each element of level 1 containign a two element list with the starting state, e.g. sing_S and the probability of leaving that state

type

a character indicating for which state ins and outs should be calculated for, e.g. "mos_E"

Details

Returns a list of new inputs and outputs from the specified state, maintaining the structure of each state.

Examples

1
See tutorial

obrady/SpatialDengue documentation built on Nov. 27, 2020, 12:13 p.m.