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) ```