Added wrappers that allow streamlined usage of linear and glm functions #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See
NEWS.md
file for additional details:robincar_glm2
androbincar_linear2
functions which allow user more control over covariate adjustment settings rather than the default internal logic for how to specify the working model. Specifically, inrobincar_linear2
, if users want to include strata as covariates, they add the strata variables directly tocovariate_cols
. Inrobincar_glm2
, only the "formula" argument is available, rather than relying on the combination ofcovariate_cols
,include_strata_as_covariate
, andadj_method
as arguments to specify the working model. This is a more direct way to specify the working model.NEWS.md
file for tracking changes that is user-facing.Internally, changed
strata
tocar_strata
. This results in a large number of files modified. You can ignore these changes. The files to review are:Data.R
for the updated formula code (see commit bb50936)robincar_glm.R
forrobincar_glm2()
androbincar_linear.R
forrobincar_linear2()
(see commits e4a9fb1, 8a59068 and cb7d83f)NEWS.md
(see commit 21af579)