I was working with some excel files with a lot of data. And by hand it is impossible to handle them. So they are now converted to .csv.
With headers above the columns, like: Data1, Data2, Data3 But now I needed to calculate the log2 value of Data1 and place the result under Data2. I can't find how to do that. Does anyone else know? I have the log2 values, but how do I get then inside the .csv file under Data2? I already tried write.table(), buy that wasn't it. And I am kinda stuck on this now..... -- View this message in context: http://r.789695.n4.nabble.com/How-insert-data-to-a-column-in-existing-csv-file-tp4551327p4551327.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.