externally validate the multiple plp models across new datasets
Source:R/RunMultiplePlp.R
validateMultiplePlp.Rd
This function loads all the models in a multiple plp analysis folder and validates the models on new data
Usage
validateMultiplePlp(
analysesLocation,
validationDatabaseDetails,
validationRestrictPlpDataSettings = createRestrictPlpDataSettings(),
recalibrate = NULL,
cohortDefinitions = NULL,
saveDirectory = NULL
)
Arguments
- analysesLocation
The location where the multiple plp analyses are
- validationDatabaseDetails
A single or list of validation database settings created using
createDatabaseDetails()
- validationRestrictPlpDataSettings
The settings specifying the extra restriction settings when extracting the data created using
createRestrictPlpDataSettings()
.- recalibrate
A vector of recalibration methods (currently supports 'RecalibrationintheLarge' and/or 'weakRecalibration')
- cohortDefinitions
A list of cohortDefinitions
- saveDirectory
The location to save to validation results