Description Usage Arguments Value
View source: R/vis-A-infects-B.R
Get the probability of transmission given a set of covariates
1 2 3 4 5 | calculate_transmission_prob(
data,
inf_params,
covariate_names = names(inf_params)[-1]
)
|
data |
data frame with variables corresponding to those in cov_names |
inf_params |
values of parameters, possibly named |
covariate_names |
covariate names |
probability of infection, the result of a logit function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.