[R] density plots????

2006-09-06 Thread Luis Barreiro
Dear all, I arrive to do density plots using the function kde2d , and from this do a countour plot. My problem is that I do not really understand what the labels for the different levels mean??? What I would like to obtain is a surface encompassing the 95 percentile of my values. In other

[R] Density Plots

2004-01-04 Thread David Tyler
I am using an older version of R (1.6.2) to run a Monte Carlo simulation, generating 10,000 samples per 'run'. When I plot histograms I get the expected 'bins' on the x-axis and the frequency distribution on the y-axis. However when I ask R to plot the SAME data set with a density curve the

Re: [R] Density Plots

2004-01-04 Thread Jason Turner
David Tyler wrote (using an e-mail client that doesn't wrap lines): I am using an older version of R (1.6.2) to run a Monte Carlo simulation, generating 10,000 samples per 'run'. When I plot histograms I get the expected 'bins' on the x-axis and the frequency distribution on the y-axis.