stochasticmodel_1country: This function gives a stochastic realization for a given...

Description Usage Arguments Value Examples

View source: R/stochasticmodel_1country.R

Description

This function gives a stochastic realization for a given parameter and initial condition.

Usage

1

Arguments

theta

parameter

inp

is a list include duration : number of days and ini: initial compartments of the country

Value

The average realization of the country during the period

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: ## Initial Condition
P1 = 10^7
I1 = 250
A1 = 130
S1 = P1 - I1 - A1
x1 = c(S1,I1,A1,0,0,0)#
days= 84
inp = list(duration =days, ini = x1)
k= 1
theta0 = as.numeric(thetas_3travel[[k]][1:6])
stochasticmodel_1country(theta0,inp)
## End(Not run)

leminhthien2011/CONETTravel documentation built on April 18, 2021, 4:17 a.m.