Description Usage Arguments Details Value See Also Examples
Function convertedRate
converts a drop-out rate from one period to another. If the drop-out rate is defined for
w1 weeks convertedRate
yields the drop-out rate for w2 weeks.
1 | convertedRate(r, w1, w2)
|
r |
rate between 0 and 1 (0 < r < 1) |
w1 |
number of weeks for which r is defined |
w2 |
number of weeks to which the rate shall be converted |
convertedRate
is an auxilliary function that converts drop-out rates for different time periods.
The function can be used in order to convert drop-out rates required for function treatment
. Function
treatment
requires the drop-out rate for the respective treatment duration as input. Typically known annual
drop-out rates can be converted to the respective rate for the treatment duration accordingly by setting w1
to 52 and w2
to the respective treatment duration.
The converted drop-out rate.
treatment
for simulating the treatment duration for a given recruitment scenario
1 | convertedRate(r=0.3,w1=52,w2=26)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.