epinowcast / primarycensored

Primary event censored distributions in R and Stan.
https://primarycensored.epinowcast.org/
Other
7 stars 1 forks source link

Improve integration with `fitdistrplus` #55

Closed seabbs closed 1 month ago

seabbs commented 1 month ago

i.e maybe helper functions, better support for mixed censoring and mixed truncation (former more important than the latter) see the fitdistrplus vignette for current pain points.

seabbs commented 1 month ago

I think it makes sense to offer a wrapper (i.e fitdistdoublecens) to handle this vs a helper that then feeds into fitdist or fitdistcens. The reason I think this reason makes sense is that we need to pass quite a few custom things to fitdist that are fairly hard to pass and so it might be easier to do this for the user.