To clarify the title of this issue: I know that the call is actually contained within the DIDparams list of MP objects. But exposing it at the top level too would make it possible to invoke standard convenience functions like update. For example:
PS. My immediate motivation for this request is that I'd like to add support for MP objects to my ritest package. Being able to pass a quick dataset update to an existing object in a will make it much easier to perform randomization inference. But I can think of several other downstream methods that could benefit too.
PPS. Happy to submit a PR with this simple change if you'd prefer that.
Thanks, yes, I'd be happy to take a pull request on this. This would be a good change, and I think I just didn't know the right place to store the call.
To clarify the title of this issue: I know that the
call
is actually contained within theDIDparams
list ofMP
objects. But exposing it at the top level too would make it possible to invoke standard convenience functions likeupdate
. For example:Now, let's try re-run our model without 2007 data using
update()
.Created on 2022-03-25 by the reprex package (v2.0.1)
PS. My immediate motivation for this request is that I'd like to add support for MP objects to my ritest package. Being able to pass a quick dataset update to an existing object in a will make it much easier to perform randomization inference. But I can think of several other downstream methods that could benefit too.
PPS. Happy to submit a PR with this simple change if you'd prefer that.