c_helper {REffectivePred}R Documentation

Contact rate function.

Description

Computes the c() function.

Usage

c_helper(
  rt_func = 1,
  st.inner = NULL,
  a1 = NULL,
  a2 = NULL,
  a3 = NULL,
  a4 = NULL,
  psi = NULL
)

Arguments

rt_func

Options are:

  • 1 - Two piece exponential.

  • 2 - Exponential power model adapted from Granich et al. (2009)

  • 3 - Mass action.

  • 4 - Shifted inverse.

  • 5 - Power.

  • 6 - Poisson.

  • 7 - Geometric.

st.inner

The susceptible fraction S_t.

a1, a2, a3, a4

Parameters of the contact rate curve specified by rt_func;

psi

A vector of same length as st.inner containing the corresponding psi restriction factor, or a scalar.

Details

See Romanescu et al. (2023) for the exact forms of the functions.

Value

The value of the contact rate, used to compute R_t.


[Package REffectivePred version 1.0.0 Index]