R/ExternalValidatePlp.R
createValidationDesign.Rd
createValidationDesign - Define the validation design for external validation
createValidationDesign(
targetId,
outcomeId,
plpModelList,
populationSettings = NULL,
restrictPlpDataSettings = NULL,
recalibrate = NULL,
runCovariateSummary = TRUE
)
The targetId of the target cohort to validate on
The outcomeId of the outcome cohort to validate on
A list of plpModels objects created by runPlp
or a path to such objects
A list of population restriction settings created
by createPopulationSettings
. Default is NULL and then this is taken
from the model
A list of plpData restriction settings
created by createRestrictPlpDataSettings
. Default is NULL and then
this is taken from the model.
A vector of characters specifying the recalibration method to apply,
whether to run the covariate summary for the validation data
A validation design object of class validationDesign