Skip to content
Back to formatted view

Raw Message

Message-ID: <1319631427596-3940399.post@n4.nabble.com>
Date: 2011-10-26T12:17:07Z
From: robgriffin247
Subject: New column of data filled with the larger value from 2 columns
In-Reply-To: <1319623257748-3940020.post@n4.nabble.com>

data$C <- pmax(data$A,data$B)

 worked perfectly thank you very much

--
View this message in context: http://r.789695.n4.nabble.com/New-column-of-data-filled-with-the-larger-value-from-2-columns-tp3940020p3940399.html
Sent from the R help mailing list archive at Nabble.com.