'data.frame': 25000 obs. of 17 variables:
$ age : chr "[70-80)" "[70-80)" "[50-60)" "[70-80)" ...
$ time_in_hospital : int 8 3 5 2 1 2 4 1 4 8 ...
$ n_lab_procedures : int 72 34 45 36 42 51 44 19 67 37 ...
$ n_procedures : int 1 2 0 0 0 0 2 6 3 1 ...
$ n_medications : int 18 13 18 12 7 10 21 16 13 18 ...
$ n_outpatient : int 2 0 0 1 0 0 0 0 0 0 ...
$ n_inpatient : int 0 0 0 0 0 0 0 0 0 0 ...
$ n_emergency : int 0 0 0 0 0 0 0 1 0 0 ...
$ medical_specialty: chr "Missing" "Other" "Missing" "Missing" ...
$ diag_1 : chr "Circulatory" "Other" "Circulatory" "Circulatory" ...
$ diag_2 : chr "Respiratory" "Other" "Circulatory" "Other" ...
$ diag_3 : chr "Other" "Other" "Circulatory" "Diabetes" ...
$ glucose_test : chr "no" "no" "no" "no" ...
$ A1Ctest : chr "no" "no" "no" "no" ...
$ change : chr "no" "no" "yes" "yes" ...
$ diabetes_med : chr "yes" "yes" "yes" "yes" ...
$ readmitted : chr "no" "no" "yes" "yes" ...