Learn R Programming

EpiEstim (version 2.2-4)

EstimateR: Function to ensure compatibility with EpiEstim versions <2.0

Description

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

Usage

EstimateR(
  I,
  T.Start,
  T.End,
  method = c("NonParametricSI", "ParametricSI", "UncertainSI"),
  n1 = NULL,
  n2 = NULL,
  Mean.SI = NULL,
  Std.SI = NULL,
  Std.Mean.SI = NULL,
  Min.Mean.SI = NULL,
  Max.Mean.SI = NULL,
  Std.Std.SI = NULL,
  Min.Std.SI = NULL,
  Max.Std.SI = NULL,
  SI.Distr = NULL,
  Mean.Prior = 5,
  Std.Prior = 5,
  CV.Posterior = 0.3,
  plot = FALSE,
  leg.pos = "topright"
)

Arguments

I

see incid in estimate_R

T.Start

see config$t_start in estimate_R

T.End

see config$t_end in estimate_R

method

see method in estimate_R (but EstimateR uses CamelCase where estimate_R uses snake_case for the method names)

n1

see n1 in estimate_R

n2

see n2 in estimate_R

Mean.SI

see config$mean_si in estimate_R

Std.SI

see config$std_si in estimate_R

Std.Mean.SI

see config$std_mean_si in estimate_R

Min.Mean.SI

see config$min_mean_si in estimate_R

Max.Mean.SI

see config$max_mean_si in estimate_R

Std.Std.SI

see config$std_std_si in estimate_R

Min.Std.SI

see config$min_std_si in estimate_R

Max.Std.SI

see config$max_std_si in estimate_R

SI.Distr

see config$si_distr in estimate_R

Mean.Prior

see config$mean_prior in estimate_R

Std.Prior

see config$std_prior in estimate_R

CV.Posterior

see config$cv_posterior in estimate_R

plot

Not used anymore, only there for compatibility

leg.pos

Not used anymore, only there for compatibility