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