View source: R/RunMultiplePlp.R
loadPlpAnalysesJson | R Documentation |
Load the multiple prediction json settings from a file
loadPlpAnalysesJson(jsonFileLocation)
jsonFileLocation |
The location of the file 'predictionAnalysisList.json' with the modelDesignList |
This function interprets a json with the multiple prediction settings and creates a list that can be combined with connection settings to run a multiple prediction study
A list with the modelDesignList and cohortDefinitions
modelDesign <- createModelDesign(targetId = 1, outcomeId = 2,
modelSettings = setLassoLogisticRegression())
saveLoc <- file.path(tempdir(), "loadPlpAnalysesJson")
savePlpAnalysesJson(modelDesignList = modelDesign, saveDirectory = saveLoc)
loadPlpAnalysesJson(file.path(saveLoc, "predictionAnalysisList.json"))
# clean use
unlink(saveLoc, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.