Description Usage Arguments Details Value Examples
This function builds a feature vector using raw patient data. Returns a patient feature vector (divided by feature sets).
1 | buildFeatureVector(flags, casesS, controlsS)
|
flags |
The R dataframe that contains all feature/model flags specified in settings.R. |
casesS |
Dataframe containing the raw patient data. |
controlsS |
(OPTIONAL) Dataframe containing the raw patient data. |
This function flattens the patient feature data (per feature set) into a feature vector that will be used as input for caret. This function can optionally flat two sources of patient data (cases and controls)
An object containing the flattened feature vectors for all given feature sets. Of form: list(observations = FV_ob, visits = FV_v, labs = FV_lab, drugexposures = FV_de)
1 2 3 4 5 6 7 8 9 10 | ## Not run:
fv_all<-buildFeatureVector(flag, dataFcases,dataFcontrols)
#OR
fv_cases<-buildFeatureVector(flag, dataFcases)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.