I have two columns of data, one is a subset of the other. All the data lie beteen 0 and 1 inclusive. I want to fit both densities on the same graph. I would also like the ability to extract the fitted values of both smoothed density (using the best method of course).
For example, if h = c( runif(1000, 0, 1), rbeta(500, 3,9)) and k = rbeta(500,3,9) then how do I get both density plots on the same diagram and if I want the actual y values (fitted values) for each of the x values in h and k, how do I get these? -- Thanks, Jim. [[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.