On Fri, Apr 25, 2008 at 10:57:27AM +0300, Emre Unal wrote: > > How can I overlap two density plots? > > A <- c(8,10,10,11,11,11,12,12,12,12,11,11,11,10,10,7) > B <- c(11,13,13,14,14,14,15,15,15,15,14,14,14,13,13,10) plot(density(A)) lines(density(B))
cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan 85350 Freising, Germany and Institut für Bioinformatik und Systembiologie / MIPS Helmholtz Zentrum München - Deutsches Forschungszentrum für Gesundheit und Umwelt Ingolstädter Landstrasse 1 85764 Neuherberg, Germany http://mips.gsf.de/staff/pagel ______________________________________________ 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.