createValidationDesign: createValidationDesign - Define the validation design for...

View source: R/ExternalValidatePlp.R

createValidationDesignR Documentation

createValidationDesign - Define the validation design for external validation

Description

createValidationDesign - Define the validation design for external validation

Usage

createValidationDesign(
  targetId,
  outcomeId,
  populationSettings,
  restrictPlpDataSettings,
  plpModelList,
  recalibrate = NULL,
  runCovariateSummary = TRUE
)

Arguments

targetId

The targetId of the target cohort to validate on

outcomeId

The outcomeId of the outcome cohort to validate on

populationSettings

A list of population restriction settings created by createPopulationSettings

restrictPlpDataSettings

A list of plpData restriction settings created by createRestrictPlpDataSettings

plpModelList

A list of plpModels objects created by runPlp or a path to such objects

recalibrate

A vector of characters specifying the recalibration method to apply,

runCovariateSummary

whether to run the covariate summary for the validation data


OHDSI/PatientLevelPrediction documentation built on May 8, 2024, 5:23 a.m.