utils: Filter patient by age

The minimum age for this study is 16.0 years or older at time of
transplantation.
This commit is contained in:
Jens Sauer 2020-11-17 15:05:31 +01:00
parent 3c160c37bb
commit c68e536861

View File

@ -71,6 +71,11 @@ sma_load_data <- function(file) {
sma$thalidomid <- as.logical(sma$thalidomid)
sma$bortezomib <- as.logical(sma$bortezomib)
#
# Limit to patients which are at least 16.0 years old at time
# of transplantation.
sma <- filter(sma, asct_age >= 16.0)
return(sma)
}