Description Usage Arguments Value Examples
Create topics by clusting condition_concept_ids based on ingredience counts
1 2 3 4 5 |
dbconnection |
using DatabaseConnector - connect to cdm database |
cdmDatabaseSchema |
- cdm schema used to extract data from |
method |
class:character - method used to do clustering (currently only supports kmeans) |
clusterSize |
class:numeric - number of clusters returned, |
topicSize |
class:numeric - number of topics in glrm |
scale |
class:boolean - whether to use ingredience percentage scale for clustering |
covariatesToInclude |
class:character vector - features to include: default NULL |
indications |
class:boolean extract drug indicator features;Default TRUE |
dayStart |
class:integer number of days relative to condition_concept_code to start looking for drugs |
dayEnd |
class:integer number of days relative to condition_concept_code to stop looking for drugs |
use_min_obs |
class:boolean whether to remove ingredient features that are rare |
min_obs |
clkass:integer threshold used when use_min_obs is TRUE to determine what is rare |
list contining definition data.frame containing columes for concept_id, covariate (cluster id)
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.