Apply train model on new data Apply a Patient Level Prediction model on Patient Level Prediction Data and get the predicted risk in [0,1] for each person in the population. If the user inputs a population with an outcomeCount column then the function also returns the evaluation of the prediction (AUC, brier score, calibration)

applyModel(population, plpData, plpModel, calculatePerformance = T,
databaseOutput = NULL, silent = F)

## Arguments

population The population of people who you want to predict the risk for The plpData for the population The trained PatientLevelPrediction model Whether to also calculate the performance metrics [default TRUE] Whether to save the details into the prediction database Whether to turn off progress reporting

## Examples

# NOT RUN {
# load the model and data
populationSettings <- plpModel$populationSettings populationSettings$plpData <- plpData
# }