title: cbind a dynamic column name from a string in R
body: <p>I want to cbind a column to the data frame with the column name dynamically assigned from a string </p>
  
  <pre><code>y_attribute = "Survived"
  cbind(test_data, y_attribute = NA)
  </code></pre>
  
  <p>this results in a new column added as <code>y_attribute</code> instead of the required <code>Survived</code> attribute which in provided as a string to the y_attribute variable. What needs to be done to get a column in the data frame with the column name provided from a variable? </p>