local_outbreak: increase probability of getting covid for people in local...

Description Usage Arguments Value

View source: R/scenario_functions.R

Description

increase probability of getting covid for people in local outreak msoa

Usage

1
local_outbreak(df, msoa_infect, number_people = 100, risk_prob = 1)

Arguments

df

data frame with individuals

msoa_infect

msoa where the local outbreak occurs

number_people

number of people at local outbreak event

risk_prob

value to change probability of infection to for people involved in local outbreak

Value

updated dataframe of individuals with increased probability of getting infected for individuals at local outbreak


Urban-Analytics/rampuaR documentation built on Nov. 27, 2020, 4:34 a.m.