title: Add a column at the end of a data frame based on the column values in R
body: <p>I have data frame as like this</p>
  <pre><code>structure(list(ID = c(&quot;A142867.12&quot;, &quot;F134242.15&quot;, &quot;H136244.11&quot;, 
  &quot;Y184937.13&quot;), Name = c(&quot;BB&quot;, &quot;PP&quot;, &quot;II&quot;, &quot;WW&quot;), qusa = c(10.0341, 
  12.7213, 0.157605, 0), nhg = c(24.7632, 50.562, 0.247947, 0.164736
  ), opk = c(26.931, 5.9474, 0.79539, 0)), class = &quot;data.frame&quot;, row.names = c(NA, 
  -4L))
  </code></pre>
  <p>I just need to add one more column (Result) with a tag (pass) if the values are more than or equal to 1.2, As like this</p>
  <pre><code>ID         Name qusa     nhg        opk    Result
  A142867.12  BB  10.0341  24.7632    26.931  Pass
  F134242.15  PP  12.7213  50.562     5.9474  Pass
  H136244.11  II  0.157605 0.247947   0.79539  -
  Y184937.13  WW  0        0.164736   0        -
  </code></pre>