implementation: Compute the implementation

Description Usage Arguments Value Examples

View source: R/implementation.R

Description

Compute the implementation which is define as ...

Usage

1

Arguments

time

individual (and time dependent) times

comp

individual and time dependent compliances (0/1)

Value

a dataframe including implementation as a function of follow-up time

Examples

1
2
3
4
data(onco)
onco$compliance <- onco$observed >= onco$expected
imp <- implementation(onco$drel, onco$compliance)
plot(imp ~ time, imp, type = "l", ylim = 0:1)

jpasquier/ad_test documentation built on Nov. 14, 2019, 8:09 p.m.