find_beta_shp: Fits beta from one resolution to another (Shapefile)

Description Usage Arguments Value

View source: R/find_beta_shp.R

Description

Adjusts beta to fit the incidence of one resolution onto another.

Usage

1
find_beta_shp(fit_data, shp, interval = 100, num_runs = 500)

Arguments

fit_data

The incidence data to use for fitting.

interval

The interval on which the fit should be performed, in days (default is 100 - i.e. the fit will be performed on the first 100 days of the epidemic).

num_runs

Number of stochastic runs to extract the median incidence for one beta value (default is 500). Higher values will be longer to run, but yield more accurate results.

rasterl

The Rasterlayer to fit on.

Value

Returns the fitted value of beta.


qleclerc/efficientspatial documentation built on May 23, 2019, 1:24 p.m.