But it does the same thing. What 'advantage' of tapply do you think that you are missing? Performance is probably not impacted since most of the time is in the plot.
On 2/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Jim, > > jim holtman schrieb: > > Here is one way: > > > > t <- split(mat, classes) > > for (i in names(t)) plotdensity(t[[i]], main=i) > > > > But then I don't use the advantages of the tapply anymore... > > > What is the problem you are trying to solve? > > I have a set of data (multiple files), which belong to different > conditions (one or more files per condition). I wanted to read the data > set and a "description" of the conditions and then automatically create > plots for data of the same condition. > > Maybe it's much to complicate the way I do... > > Antje > > --------------------------------- > NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf > Yahoo! Clever. > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch 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 you are trying to solve? [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch 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.