sendona essile wrote:
I want to draw two density functions on the same graph. One of the densities is produced by density() and the other one is produced by logspline() . I want to show one of them by solid line and the other one by dashed line, but both of them on one graph. Sorry if this is plane and trivial, I don't know with what keyword I should search to find the answer.
Hi sendona, Use "plot" for the first one and "lines" with lwd=2 for the second. Jim ______________________________________________ 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.