search for: tp3940020p3940399

Displaying 1 result from an estimated 1 matches for "tp3940020p3940399".

2011 Oct 26
2
New column of data filled with the larger value from 2 columns
Hi, I'm sure there is a pretty simple answer to this but I have had my head buried in the R book and on help pages for a while now and I've not made any progress. In simple terms: I have 2 columns of data, column A and column B. I want to create a new column (C) and fill it with the largest value from of A or B on each row. So I want C to contain A if B>A and C to contain B if