Open athowes opened 1 month ago
Thanks @athowes. I agree that I can see a use for this. I am not totally clear how this would be communicated (especially in light of #63) so do you have a suggestion?
I think this would definitely be something to restrict to the R side vs trying to extend it to the stan code.
I'm still not clear how to communicate or provide an interface for this. Perhaps via a helper function that does this vs including it directly?
@zsusswein, sbfnk, and @jamesmbaazam I imagine you might have some thoughts on what this should look like given you've all implemented this kind of thing in various places.
I may be missing something but this feels like a job for qpcens()
?
Good point so the flow would be qpcens()
for D and then use dpcens()
vs what I think the request was which is a single wrapper function.
Similar to what I've done here:
Of course the
0.99
can be a parameter. And I usedq = 0:round(5 * gi_mean_cowling)
as I thought that'd ensure0.99
was in there, but might need another solution here.This function could be useful for users who want a shorter delay PMF.