Skip to contents

Create parameter object for defining the analysis populations Contains the settings for defining both the populationPlp and the populationCm objects.

Usage

createPopulationSettings(
  populationPlpSettings = PatientLevelPrediction::createStudyPopulationSettings(),
  populationCmSettings = CohortMethod::createCreateStudyPopulationArgs(),
  postProcessing = "none"
)

Arguments

populationPlpSettings

Parameter object for the definition of the populationPlp object created from createStudyPopulationSettings.

populationCmSettings

Parameter object for the definition of the populationCm object created from createCreateStudyPopulationArgs.

postProcessing

A function to run on the initial population after creating the prediction and estimation populations