viewPlp | R Documentation |
This is a shiny app for viewing interactive plots of the performance and the settings
viewPlp(runPlp, validatePlp = NULL, diagnosePlp = NULL)
runPlp |
The output of runPlp() (an object of class 'runPlp') |
validatePlp |
The output of externalValidatePlp (on object of class 'validatePlp') |
diagnosePlp |
The output of diagnosePlp() |
Either the result of runPlp and view the plots
Opens a shiny app for interactively viewing the results
data("simulationProfile")
plpData <- simulatePlpData(simulationProfile, n= 1000)
saveLoc <- file.path(tempdir(), "viewPlp", "development")
results <- runPlp(plpData, saveDirectory = saveLoc)
# view result files
dir(saveLoc, recursive = TRUE)
# open shiny app
viewPlp(results)
# clean up, shiny app can't be opened after the following has been run
unlink(saveLoc, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.