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

Strata, subset #10

Open
Braventos opened this issue Oct 6, 2023 · 1 comment
Open

Strata, subset #10

Braventos opened this issue Oct 6, 2023 · 1 comment

Comments

@Braventos
Copy link
Collaborator

At the moment estimates can be stratified or calculated within a subset of the population using separate functions (getPSSAStrata and getPSSASubset) which in turn use generateDenominatorCohortSet from IncidencePrevalence. We could try to merge this functionality in the main function (getPSSA) by adding ageGroup, sex, and the name and id of the subset table (previously instantiated). If we do that, it makes more sense to restrict getPSSA() to only reference existing tables (see Issue #9).

@edward-burn @xihang-chen

@edward-burn
Copy link
Contributor

This could also look a little like the strata option in cohortSurvival where users can stratify on a variable they have added externally (eg using addDemographics from patient profiles)

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

No branches or pull requests

2 participants