Open LindaValeri opened 8 years ago
go from global environment to list. Show regression formula
Deparse
Call:
lm(formula = outcome.formula, data = data)
Coefficients:
(Intercept) therapy attrib
-0.5124 0.9739 0.3203
fix CausalMediationRegression function so that runs only once for output and if boot =TRUE runs on resamples
In causalmediationAll return a list with outcome.regression, mediator.regression, estimates.