new_adherence: Adherence function

Description Usage Arguments

View source: R/adherence.R

Description

Adherence function

Usage

1
2
new_adherence(n = 100, type = "markov", markov = list(p11 = 0.75, p01 =
  0.75), p_binom = 0.7)

Arguments

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


ronkeizer/PKPDsim documentation built on May 27, 2019, 1:50 p.m.