adherence_binomial {PKPDsim} | R Documentation |
Binomial adherence
Description
Model adherence as a binomial probability at the time of each occasion.
Usage
adherence_binomial(n = 100, prob)
Arguments
n |
number of occasions |
prob |
binomial probability |
Value
Returns a vector of length 'n' containing values 0 (non-adherent) or 1 (adherent).
Numeric vector of length n
[Package PKPDsim version 1.3.0 Index]