af function

Convert some columns of a data.frame to factors