tharusan / snap2_final

0 stars 1 forks source link

What is supplev_miss? #8

Open docsteveharris opened 2 years ago

docsteveharris commented 2 years ago

https://github.com/tharusan/snap2_final/blob/c23bbf0d922fbb363c7d1097f9cb3a430a0bf451/snap2_syntax1.Rmd#L383

docsteveharris commented 2 years ago

missing patients how many will there be?

dannyjnwong commented 2 years ago

Looking at the code on Line 522:

sum(is.na(patients_clean4$S02LevelOfSupport))
supplev_miss <- which(!complete.cases(patients_clean4$S02LevelOfSupport))

It appears it's a binary indicator variable for patients who are missing their pre-operative level of support. Looking back into my thesis appendix page, there are about 25 patients which are missing this value.