Adherence function
1 2 | new_adherence(n = 100, type = "markov", markov = list(p11 = 0.75, p01 =
0.75), p_binom = 0.7)
|
n |
number of days to simulate |
type |
type of adherence simulation, either "markov" or "binomial" |
markov |
if markov-type, specify a list with markov transition probabilities |
p_binom |
binomial probability of being adherent |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.