ImperialCollegeLondon / epidemia

epidemia package
https://imperialcollegelondon.github.io/epidemia/index.html
47 stars 15 forks source link

Partial pool at different levels #21

Closed s-mishra closed 4 years ago

s-mishra commented 4 years ago

I might be wrong, but right now we don't have a way to the partial pool at different levels. Look for example here

The idea would be to allow various levels in data at which a partial pool can be activated. I might be wrong but it should be doable by just having a column in the data frame and thus specifying formula based on that column. If that's the case it is already in there.

agandy commented 4 years ago

Have not looked into it, but is ~(x|state)+(y|region) not working?

jscott6 commented 4 years ago

Unless I'm mistaken - this is working