title: Cut numeric with censoring in R
body: <p>I think this could already exist but I could not find. I am trying to cut numeric values. For example, I have a vector <code>x = c(rep(0,2),rep(1,2),rep(2,2),seq(3,5))</code>. With this vector, I just want to create a vector with factor having 4 levels. With the data, my expecting outcome is <code>(0,0,1,1,2,2,+2,+2)</code>. I was trying to use <code>cut</code> function but do not know how to create <code>+2</code>. <br>
  I can do it with <code>ifelse</code> but I want to create it with <code>cut</code> function.</p>