Apply physiologic bounds to a data frame
Arguments
- data
Wide data frame (one column per feature) when
feature_colisNULL; otherwise a long frame withfeature_colnaming the feature andvalue_colthe value.- bounds
NULL= default bounds forpopulation; a named list overrides per feature (list(wbc = c(0.5, 150)));FALSEdisables filtering. Inclusive;NAend = open.- population
Target population (
"adult","pediatric", or"neonatal").- action
"nullify"(out-of-range ->NA; default),"clip"or"drop".- feature_col, value_col
See
data.
