Re: [R] Create and Change Column in a Matrix as per condition
[2,] "20" "RC" [3,] "30" "" [4,] "30" "" [5,] "32" "RC" A.K. ----- Original Message - From: Rantony To: r-help@r-project.org Cc: Sent: Tuesday, May 29, 2012 9:13 AM Subject: [R] Create and Change Column
[R] Create and Change Column in a Matrix as per condition
Hi, i have a matrix like this *DWATT * 10 20 30 30 32 Here i need to create a new column named "*DWATT_QF*" with filling value as per the following condition, if DWATT_QF = RC When DWATT value less than 30