rstantools
rstantools copied to clipboard
reloo generic
@paul-buerkner I'd like to add a generic for reloo
so we can have reloo.stanreg
and reloo.brmsfit
methods. But I see that currently brms takes the first argument of reloo
to be the loo object. So it can't change to a brmsfit method without breaking backwards compatibility, right? If that's the case then maybe we should use a different name than reloo
for the generic and new methods and you can deprecate reloo
it in brms. What do you think? Definitely open to other ideas.
I could just add a reloo.loo
method to brms
or we can even add it to loo
and then internally do the dispatch based on the second, model object argument. This way, we won't break backwards compatibility but still get the generic going I think.
Was there resolution for this?
Bumping this reloo question up again