Changelog
Source:NEWS.md
turtle 0.1.0
Initial release
- Introduced
run_linear_models()
function to fit linear (lm
) and mixed effects (lmer
) models. - Supports:
- Covariate adjustment
- Effect modification via interaction terms
- Sensitivity covariates
- Random effects specification
- Returns a comprehensive output including:
- The fitted model object
- A tidy summary of fixed effects with estimates, confidence intervals, standard errors, p-values, number of observations, and BIC
- Model formula
- Residuals
- Exposure variable name
- Includes robust error and warning handling using
purrr::safely()
andwithCallingHandlers()
. Includes errors or warnings in the tidy output so they can be viewed later when interpreting results.
turtle 0.1.2
Update runLinearModels
Added version check to run_linear_models()
so the user knows if an update is needed or not. Added option to not include p-values, which will switch to using lme4 to run mixed-effect models.
turtle 0.1.6
Create model_helpers & utils
Create model_helpers script -Turn some of the repetitive code in run_linear_models into helpers so they can be more easily updated and utilised elsewhere Create utils script -Turn some of the repetitive code in run_linear_models into utils so they can be more easily updated and utilised elsewhere *Update run_linear_models -Remove the model_helpers and utils and instead call them from their separate files.