RANDCorporation / optic

optic: Simulation Tool for Causal Inference Using Longitudinal Data
https://randcorporation.github.io/optic/
GNU General Public License v3.0
8 stars 1 forks source link

Docs and light refactor #4

Closed maxgriswold closed 1 year ago

maxgriswold commented 1 year ago

Adding in docs + light refactor Added examples and return values for all exported functions. Examples were tested on build and worked as expected.

I also refactored the exposure-list code (made simpler using base R functions, rather than regex expressions) + added light functionality for mixed effect models via lmer (but only in the instance of no confounding, w/o clustered standard errors). Will extend this functionality to other methods, once we get around to refactoring code.

pedroliman commented 1 year ago

Pull requests from external forks directly to main are not encouraged; I'll merge those changes manually.