[R] (no subject)

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Fri Mar 19 19:49:14 CET 2004


Aimin Yan wrote:
> How to use "contour" function?
> I type "contour(th1,th2,SumofSquares,levels=c(seq(1000,4000,200)))"
> 
> But I didn't see contour in the plot, I guess it is because my data is 
> so big that contour is out of range.

  It looks like it, given the data you showed. If you leave out the 
'levels' argument then the contour function tries to pick good values 
for the contour lines. Why dont you try that?

  contour(th1,th2,SumOfSquares)

Barry




More information about the R-help mailing list