[R] Explain Err Msg.

Jason C. Leach jleach at mail.ocis.net
Tue Jul 30 18:10:41 CEST 2002


hi,
To plot something I do:

> cl13ppp<-as.ppp(cl13mx,owin(c(0,maxx), c(0,maxy)))
> cl13Kest<-Kest(cl13ppp)
> plot(cl13Kest$r, cl13Kest$border, type="l", xlab="r", xlim=c(0,50), ylab="K(r)", ylim=c(0,7500), main=" K-Function for CL13")
> lines(r, cl13Kest$theo, lty=2)
Error in xy.coords(x, y) : x and y lengths differ


Above where I use owin, I can use 0,100 but when I use the min/max
of my data (max(myVec), min(myVec) I get the error mentiond above.
Can anyone explain the err, so I can correct it.



Thanks,
j.


......................
..... Jason C. Leach
.. 

Current PGP/GPG Key ID: 43AD2024 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list