Can any one suggest dplyr solution to recode values into 1 and 0 based on some cutoff like x > 0.5. I got the solution by applying apply but i need dplyr so
apply