Open Masswear opened 3 years ago
I've translated a couple of the functions from wtdttt into R, perhaps they could be used as a starting point for this feature.
Please see https://github.com/mbg-unsw/Rwtd
Hi Malcom, thanks for the pointer, I'll look into it (hopefully soon, depending on my workload), but I might have questions :) Best, Dan
One of the greatest limitations in EHD adherence research is the lack of doses, or durations of supply in many data sets. Having the ability to calculate durations of supply using either the forwards or reverse waiting time distribution would be a useful feature in AdhereR. There is a function in the Stata package, wtdttt, and here are some references: