Computes the c() function.
c_helper(
rt_func = 1,
st.inner = NULL,
a1 = NULL,
a2 = NULL,
a3 = NULL,
a4 = NULL,
psi = NULL
)The value of the contact rate, used to compute \(R_t\).
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.
The susceptible fraction \(S_t\).
Parameters of the contact rate curve specified by rt_func;
A vector of same length as st.inner containing the corresponding psi restriction factor, or a scalar.
See Romanescu et al. (2023) for the exact forms of the functions.