Fit a predictive model
1 2 3 4 5 6 7 8 9 10 11 | fitGLMModel(
population,
plpData,
modelType = "logistic",
excludeCovariateIds = c(),
includeCovariateIds = c(),
prior = createPrior("laplace", useCrossValidation = TRUE),
control = createControl(cvType = "auto", fold = 3, startingVariance = 0.01, tolerance
= 2e-06, cvRepetitions = 1, selectorType = "byPid", noiseLevel = "silent", threads =
-1, maxIterations = 3000)
)
|
population |
A population object generated by |
plpData |
An object of type |
modelType |
The type of outcome model that will be used. Possible values are "logistic", "poisson", or "cox". |
excludeCovariateIds |
Exclude these covariates from the outcome model. |
includeCovariateIds |
Include only these covariates in the outcome model. |
prior |
The prior used to fit the model. See
|
control |
The control object used to control the cross-validation used to
determine the hyperparameters of the prior (if applicable). See
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.