Kuan-Liu-Lab / causens

An R package for causal sensitivity analysis methods
https://kuan-liu-lab.github.io/causens/
MIT License
1 stars 0 forks source link

Allow strings for `exposure` and `outcome` arguments in `corrected_outcomes` #19

Closed larryshamalama closed 4 months ago

larryshamalama commented 7 months ago

https://github.com/Kuan-Liu-Lab/causens/blob/97048887694ea1f3f9070d5da5db86a9a9f23574/R/sf_corrected_outcomes.R#L28-L30

In corrected_outcomes, exposure and outcome arguments are necessarily vectors, which is sort of redundant in light of the data argument. We can allow specification of the former arguments as strings.

larryshamalama commented 4 months ago

file removed