which()
match(a, b)
df <- df[ , c( "age", "test", "weight", "bp", "patient", "rating")] names(df)
## [1] "age" "test" "weight" "bp" "patient" "rating"