Turns 1/0 into "Yes"/"No"
yesno(x)
x
an integer vector
a character vector
flag <- c(0, 1, 1, 0, 0, 0) yesno(flag)