I have tried removing a parenthesis to the right of poly and I get this error:
Error in bboxx(bbox(as.points(poly)), nsim = 29, s = seq(5, 80, 5)) : unused argument(s) (nsim = 29, s = seq(5, 80, 5)) It looks like you have one comma for poly, one for as.points, and one for bbox. The original error was due to the first comma... The code itself was from the example() function, so I am not sure why it won't run. -- View this message in context: http://r.789695.n4.nabble.com/error-with-bbox-for-k12hat-splancs-bivarite-k-function-tp4659233p4659269.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.