Report question

Question: How do I change a value coded as "Yes" to a value of 1 in R?