loadPlpResult: Loads the evalaution dataframe

View source: R/SaveLoadPlp.R

loadPlpResultR 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)


OHDSI/PatientLevelPrediction documentation built on Feb. 14, 2025, 9:44 a.m.