convert some of the variables from factor into numeric
loc_d[, c(5:132)] <- sapply(loc_d[, c(5:132)], as.numeric) http://stackoverflow.com/questions/2288485/how-to-convert-a-data-frame-column-to-numeric-type/2293313#2293313