R/CreateArgFunctions.R
createFitCaseControlModelArgs.Rd
Create a parameter object for the function fitCaseControlModel
createFitCaseControlModelArgs(
useCovariates = FALSE,
excludeCovariateIds = c(),
includeCovariateIds = c(),
profileGrid = NULL,
profileBounds = c(log(0.1), log(10)),
prior = createPrior("laplace", useCrossValidation = TRUE),
control = createControl(cvType = "auto", startingVariance = 0.01, tolerance = 2e-07,
cvRepetitions = 10, selectorType = "byPid", noiseLevel = "quiet")
)
Whether to use the covariates in the caseControlsExposure.
Exclude these covariates from the model.
Include only these covariates in the model.
A one-dimensional grid of points on the log(relative risk) scale where the likelihood for coefficient of variables is sampled. See details.
The bounds (on the log relative risk scale) for the adaptive sampling of the likelihood function.
The prior used to fit the model. See createPrior for details.
The control object used to control the cross-validation used to determine the hyperparameters of the prior (if applicable). See createControl for details.
Create an object defining the parameter values.