Description Usage Arguments Details
Convert logistic regression model to sql code...
1 2 3 4 5 6 7 8 9 | createLrSql(
models,
modelNames,
covariateConstructionName = "prediction",
modelTable = "#model_table",
analysisId = 111,
e = environment(),
databaseOutput = NULL
)
|
models |
A trianed plp model. |
modelNames |
A name used in the covariate function names (no spaces) |
covariateConstructionName |
the name used for the create covariate function |
modelTable |
The temporary table name storing the model details |
analysisId |
The covariate analysis_id |
e |
The environment to output the covariate setting functions to |
databaseOutput |
If you want to output to go inot a cohort table add the "database.schema.tablename" here |
This function is used to create custom covariates for a logistic regression model (currently only supports, demographics/conditions/drug/procedures/observations and measurement concepts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.