sim_data: simulate independent spatial and temporal data

Description Usage Arguments Details Value Author(s)

Description

sample independent spatial and temporal data

Usage

1
sim_data(time_model, postcode_pop, timespan = range(time_model$data$Date))

Arguments

time_model

a poisson GLM for the temporal model

postcode_pop

data frame of postcode,pop columns

N

number to simulate

Details

etc

Value

data frame of simulated case postcodes and times

Author(s)

Barry Rowlingson


barryrowlingson/phlabr documentation built on May 3, 2019, 9:37 p.m.