Tag: replace variable value in R

  • R – find cases (rows) that match specific criteria

    I regularly need to find a specific case or set of cases that meet some criteria when analyzing data, often so I can modify those values for one reason or another. The easiest way I have found to find such values in R is the “which” function. As with most of my R examples, I’m…