You can probably use one of the 'apply' functions, but it is hard to tell you which one since you did not provide commented, minimal, self-contained, reproducible code, or an example of what you thought the output should look like.
On Fri, Jan 23, 2009 at 2:28 AM, venkata kirankumar <kiran4u2...@gmail.com> wrote: > Hi all, > I got a problem with appending data into the *.csv file > like > > abc<-read.csv("bbb.csv") # reading data from one csv file > abc1<-mean(subset(abc,Group=="A")) > > hear i have to creat a .csv file and in that i have to create > column's with names *group, mean* and farther i have to caliculate for > Groups:-A, B, C, D, F > and i have to append data to consicutive rows of groups > > can any one suggest how can i farward in this issue > > thanks in advance > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ 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.