WT: Function to ensure compatibility with EpiEstim versions <2.0

Description Usage Arguments

View source: R/compatibility.R

Description

Please only use for compatibility; Prefer the new wallinga_teunis function instead

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
WT(
  I,
  T.Start,
  T.End,
  method = c("NonParametricSI", "ParametricSI"),
  Mean.SI = NULL,
  Std.SI = NULL,
  SI.Distr = NULL,
  nSim = 10,
  plot = FALSE,
  leg.pos = "topright"
)

Arguments

I

see incid in wallinga_teunis

T.Start

see config$t_start in wallinga_teunis

T.End

see config$t_end in wallinga_teunis

method

see method in wallinga_teunis (but WT uses CamelCase where wallinga_teunis uses snake_case for the method names)

Mean.SI

see config$mean_si in wallinga_teunis

Std.SI

see config$std_si in wallinga_teunis

SI.Distr

see config$si_distr in wallinga_teunis

nSim

see config$n_sim in wallinga_teunis

plot

Not used anymore, only there for compatibility

leg.pos

Not used anymore, only there for compatibility


EpiEstim documentation built on Jan. 7, 2021, 5:10 p.m.