loadPlpResult {PatientLevelPrediction}R Documentation

Loads the evalaution dataframe

Description

Loads the evalaution dataframe

Usage

loadPlpResult(dirPath)

Arguments

dirPath

The directory where the evaluation was saved

Details

Loads the evaluation

Value

                       The runPlp object

Examples

 
data("simulationProfile")
plpData <- simulatePlpData(simulationProfile, n = 1000)
saveLoc <- file.path(tempdir(), "loadPlpResult")
results <- runPlp(plpData, outcomeId = 3, saveDirectory = saveLoc)
savePlpResult(results, saveLoc)
loadedResults <- loadPlpResult(saveLoc)
# clean up
unlink(saveLoc, recursive = TRUE)


[Package PatientLevelPrediction version 6.4.1 Index]