View source: R/RunMultiplePlp.R
savePlpAnalysesJson | R Documentation |
Save the modelDesignList to a json file
savePlpAnalysesJson(
modelDesignList = list(createModelDesign(targetId = 1, outcomeId = 2, modelSettings =
setLassoLogisticRegression()), createModelDesign(targetId = 1, outcomeId = 3,
modelSettings = setLassoLogisticRegression())),
cohortDefinitions = NULL,
saveDirectory = NULL
)
modelDesignList |
A list of modelDesigns created using |
cohortDefinitions |
A list of the cohortDefinitions (generally extracted from ATLAS) |
saveDirectory |
The directory to save the modelDesignList settings |
This function creates a json file with the modelDesignList saved
## Not run:
savePlpAnalysesJson(
modelDesignList = list(
createModelDesign(targetId = 1, outcomeId = 2, modelSettings = setLassoLogisticRegression()),
createModelDesign(targetId = 1, outcomeId = 3, modelSettings = setLassoLogisticRegression())
),
saveDirectory = 'C:/bestModels'
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.