Constructs an DemoConstraint object for prevalence analyses.

createDemographicConstraints(
  ageMin = 0,
  ageMax = 150,
  genderIds = c(8507, 8532)
)

Arguments

ageMin

The minimum age allowed for the population. Default is 0

ageMax

the maximum age allowed for the population. Default is 150

genderIds

the genderIds allowed. Default is 8507 - M, and 8532 - F

Value

A DemoConstraint R6 object.