
Compute the features of a set for a group of index stays
Source:R/study_features.R
compute_features.RdCompute the features of a set for a group of index stays
Arguments
- fs
A
feature_set.- con
A DBI connection to an OMOP DuckDB.
- stays
Data frame with
person_id,admit_dateand optionally a uniquestay_id; default every inpatient visit. Seestays_from_cohort().- fit
TRUE(fit every feature that learns from data: the training reference), a character vector of feature names, orFALSE(use the state already on each feature or loaded withload_feature_state()).- address_table
"auto", a table name, orNULL(seederive_geography_features()).