Description Usage Arguments Details Value Examples
Create a binary vector of patterns observed at a clinical visit.
1 | vectorizePatterns(patternDays)
|
patternDays |
list of patterns found by cSPADE,
for each pattern there is a list of patientIDs (see |
For every clinical visit, each pattern has a value of 1 (present) or 0 (absent).
dataframe, rows of clinical visits, cols of binary features (0: observed, 1: not observed)
1 2 | data("patterns_ratechange_sup0.4g60l2z2") # days when pattern occurred
features <- vectorizePatterns(patternDays)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.