title: How to create a dummy variable in R by comparing the string values in a column
body: <p>I am new to R and I want to create a dummy variable in R, which is decided as 1 or 0 depending on the values in one of the column in the dataset.</p>
  
  <p>The values are like "51.1", "47.9","75.4","89.4", etc.</p>
  
  <p>I have to assign 1 to the values which are greater than 55 and 0 to values which are less than 55.
  I know this can be done using mutate and ifelse function, however, I am getting stuck as how to compare these string values. </p>
  
  <p>Any suggestion would be appreciated.</p>
  
  <p>Thank you.</p>