Skip to content

Commit

Permalink
Add a comment to the vignette on having at least one exposure of inte…
Browse files Browse the repository at this point in the history
…rest
  • Loading branch information
schuemie committed Aug 7, 2024
1 parent ceb7226 commit 3ed2e4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vignettes/MultipleAnalyses.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ fitSccsModelArgs <- createFitSccsModelArgs()

Any argument that is not explicitly specified by the user will assume the default value specified in the function. Note that for several arguments for concept or cohort definition IDs we can use the `exposureIdRef` (default = `"exposureId"`) in the `Exposure` objects that we used in `createExposuresOutcome()`. In this case, we defined the argument `includeEraIds` to get the value of the `exposureId` variable, meaning it will take the value of the diclofenac concept ID, or any of the negative control IDs. Also note that we set `exposureOfInterest = TRUE`, which will cause the estimate for this covariate to be included in the result summary later on.

**Important: at least one era covariate in your analysis must have `exposureOfInterest = TRUE`.**

We can now combine the arguments for the various functions into a single analysis:

```{r eval=TRUE}
Expand Down

0 comments on commit 3ed2e4a

Please sign in to comment.