Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cohort covariates and add predictGlm to package #465

Merged
merged 19 commits into from
Jul 23, 2024
Merged

Conversation

egillax
Copy link
Collaborator

@egillax egillax commented Jun 28, 2024

Necessary for upcoming study.

When specifying the cohort covariateSettings previously you needed to specify the cohortTable and workSchema. But when running studies using strategus all settings are pre-specified and cohorts generated with CohortGenerator. I added the option of not specifying cohortTable and schema in createCohortCovariateSettings . Then at runtime it will look in the grandparent environment using parent.frame() for those variables in the databaseDetails.

I also moved predictGlm from the validation module to here and created a convenience function to create a model to be used by that function.

@egillax egillax marked this pull request as ready for review July 1, 2024 08:49
@egillax egillax merged commit 23ebe03 into develop Jul 23, 2024
8 checks passed
@egillax egillax deleted the cohort_covariates branch September 30, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant