'Function boundingbox called with 2 unrecognised arguments : package spatstat

I try to make ppp object with r. When I launch this code on R :

data<-read.csv("Results.csv")
#creation fenetre
fenn<-owin(xrange=c(40,760), yrange=c(40,160), poly=NULL, mask=NULL, units=NULL)
#creation point pattern
ppp<-ppp(x=data$XM,y=data$YM,window=fenn)
plot(ppp)

It notices me that there is two point out of the windows but it works.

When I launch the same code by JMP it shows me this error :

Error: Function boundingbox called with 2 unrecognised arguments

And after it notices me for the 2 points. But it seems that this error is blocking the code from running.

But if I change window size that include all my points it seems to work. I don't understand



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source