Perhaps: par(mfrow=c(3,1)) lapply(tapply(df$time, df$events, ecdf), plot)
On 15/10/2007, Dieter Vanderelst <[EMAIL PROTECTED]> wrote: > > Dear list, > > I have a data frame with a number of events (factor) and the times at > which they occurred (continuous variable): > > event time > A 10 > A 12 > B 15 > A 17 > C 13 > ... > > Is it possible in R to make a plot against time of the cumulative > frequency of occurrence of each event? This would be, a raising line for > each factor. > > Regards, > Dieter > > ______________________________________________ > 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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[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.