HI,
I have 16 data frames (each with 2 columns) named a02, a03,..., a09,
b02, b03,..., b09. I would like to apply to the 2d column of each data
frame the same function and get back the result in the 3d column of
each data frame. The fuction is something like:
ifelse(value of column 2 < 1, 1, ifelse(value of column 2 < 5, 2 ,3))
I played with eval, parse, paste... in a loop, but I can't get the
solution. I have only 3 lines of code in order to call the data
frames:
x_c("a","b")
y_c("02","03","04","05","06","07","08","09")
u_outer(x,y,paste,sep="")
Thank you for your help,
Tristan Lorino
--
Laboratoire Central des Ponts et Chaussées
[Division ESAR ? Section AGR]
Route de Bouaye BP 4129
44341 Bouguenais Cedex
France
Tél 33 (0)2 40 84 56 18
Fax 33 (0)2 40 84 59 92
|