adherence_binomial | R Documentation |
Model adherence as a binomial probability at the time of each occasion.
adherence_binomial(n = 100, prob)
n |
number of occasions |
prob |
binomial probability |
Returns a vector of length 'n' containing values 0 (non-adherent) or 1 (adherent).
Numeric vector of length n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.