search for: 27lapply

Displaying 1 result from an estimated 1 matches for "27lapply".

Did you mean: 22apply
2007 Oct 12
1
use 'lapply' to creat 2 new columns based on old ones in a data frame
...,2]+add[m[i,1]]; m$new2[i]=m[i,3]+add[m[i,1]]; return (m[i,])} )) Could you please tell me how? or any other better approach? -- View this message in context: http://www.nabble.com/use-%27lapply%27-to-creat-2-new-columns-based-on-old-ones-in-a-data-frame-tf4616650.html#a13184905 Sent from the R help mailing list archive at Nabble.com.