On 26 May 2011, at 08:02, Vijayan Padmanabhan wrote: > I have a requirement for which I am seeking help.
Best to just ask, compactly. This is a very straightforward question: best to read on how to use R: You are just set 1 column of a dataframe to a value based on the others, applying this to all rows: This is just what R does by default So you can solve your problem by extension from df$E = sqrt(df$A) + (df$B * df$D) A B C D 1 2 3 4 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.