Description Usage Arguments Value Examples
Function to calculate theoretical value for x.loi and I
1 | simulate_incidence_stats_fast(P, dist.X.loi, dist.X.los = NA)
|
P |
prevalence of HAIs |
dist.X.loi |
probability mass function of distribution of lengths of infection |
dist.X.los |
vector of probabilities for values 1:length(dist.X.los) of X.los |
list with following components
x.loi - average length of infection
x.los - average length of stay
I - theoretical incidence rate per patient day
I.pp - theoretical incidence proportion per admission
1 2 3 4 | example.dist <- create_dist_vec(function(x) dpois(x-1, 7), 70)
data.fast.inc.theo <- simulate_incidence_stats_fast(P=0.05, dist.X.loi = example.dist)
data.fast.inc.theo$x.loi
data.fast.inc.theo$I
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.