totaltravelout_samerate_regulated: This function gives a list of total travel data allowed from...

Description Usage Arguments Value Examples

View source: R/totaltravelout_samerate_regulated.R

Description

This function gives a list of total travel data allowed from 1 country to another for a given in rate.

Usage

1
totaltravelout_samerate_regulated(traveloutdat, ratein, P)

Arguments

traveloutdat

is the data of travel out from each country without pandemic

ratein

numeric values of rate let people in

P

vector population of countries in order as travel data

Value

A list of number travelers can go from 1 country to another each day during the duration

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
For 3 countries
P1 = 10^7
P2 = 3*10^6
P3 = 2*10^6
P = c(P1, P2, P3) #population of 3 countries
traveloutdat = travelout_3dat
ratein = 1 # policy that allows full rate of travel in
totaltravelout_samerate_regulated(traveloutdat, ratein, P)
##########################
For 2 countries
P1 = 10^7
P2 = 3*10^6
P = c(P1, P2) #population of 2 countries
traveloutdat = travelout_3dat[,1:2] #travel out of 2 countries
ratein = .5 # policy that allows full rate of travel in
totaltravelout_samerate_regulated(traveloutdat, ratein, P)

## End(Not run)

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