[R] contour() contourLines()

2009-10-22 Thread Ted Harding
Hi Folks, I have been using contour() to produce some contour plots (of a spatially-smooted density produced by kde2d()), with very satisfactory results. I now want access to the coordinates of the points on the contours, and it would seem that contour() does not return a value, so there is

Re: [R] contour() contourLines()

2009-10-22 Thread Peter Ehlers
Hi Ted, Here's what the last example in ?contour says: ## contourLines produces the same contour lines as contour So, even without digging into the source, I would guess that your hunch is correct. Cheers, Peter Ehlers (Ted Harding) wrote: Hi Folks, I have been using contour() to produce

Re: [R] contour() contourLines()

2009-10-22 Thread Ted Harding
Hi Peter! Many thanks -- I had overlooked that line. Ted. On 22-Oct-09 18:53:25, Peter Ehlers wrote: Hi Ted, Here's what the last example in ?contour says: ## contourLines produces the same contour lines as contour So, even without digging into the source, I would guess that your