covars: Make covariate table for Model 1

View source: R/haiti1_covars.R

covarsR Documentation

Make covariate table for Model 1

Description

Generate a data frame containing weekly values for periodic basis splines for the seasonal transmission term beta.

Usage

covars(
  tmin,
  tmax,
  byt = 1,
  nbasis = 6,
  degree = 6,
  per = 52.14,
  data,
  settings
)

Arguments

tmin

first observation time

tmax

last observation time

byt

number of steps between each time

nbasis

number of basis spline terms

degree

degrees of freedom for the basis splines

per

period of the basis spline

data

haiti cholera observations

settings

settings for the vaccination campaign scenario


zjiang2/haitipkg documentation built on March 1, 2024, 11:34 p.m.