From 559c7efb78b46a9038b47964ff60689f2e7914ca Mon Sep 17 00:00:00 2001 From: jreps Date: Mon, 9 Oct 2023 17:43:19 -0400 Subject: [PATCH] Update ConstrainedPredictors.Rmd --- vignettes/ConstrainedPredictors.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vignettes/ConstrainedPredictors.Rmd b/vignettes/ConstrainedPredictors.Rmd index 18623112c..2776122cb 100644 --- a/vignettes/ConstrainedPredictors.Rmd +++ b/vignettes/ConstrainedPredictors.Rmd @@ -36,20 +36,20 @@ Here we provide a set of phenotypes that can be used as predictors in prediction These phenotypes can be extracted from the PhenotypeLibrary R package. To install the R package run: -```{r echo = FALSE} +```{r echo = T} remotes::install_github('ohdsi/PhenotypeLibrary') ``` To extract the cohort definition for Alcoholism with an id of 1165, just run: -```{r echo = FALSE} +```{r echo = T} PhenotypeLibrary::getPlCohortDefinitionSet(1165) ``` in general you can extract all the cohorts by running: -```{r echo = FALSE} +```{r echo = T} phenotypeDefinitions <- PhenotypeLibrary::getPlCohortDefinitionSet(1152:1215) ```