OHDSI / FeatureExtraction

An R package for generating features (covariates) for a cohort using data in the Common Data Model.
http://ohdsi.github.io/FeatureExtraction/
61 stars 60 forks source link

minCharacterizationMean inclusive of min value and add upper bound constraint #250

Closed anthonysena closed 7 months ago

anthonysena commented 7 months ago

Aims to fix #249. Some additional notes: I removed the data filtering for continuous covariates as this is not desired. We only want to limit the output for binary covariates as those are the ones that have the large output. As a result, I added an upper-bound constraint to the minCharacterizationMean parameter to ensure it is between 0 and 1, inclusive.