search for: kernelest

Displaying 1 result from an estimated 1 matches for "kernelest".

2006 Apr 18
2
Unfound objects in function
...tstat, though the problem seems more general. My only guess is that I've accidentally changed something to do with the environment that functions are searching in to exclude themselves, but if so I've no idea how I did or how I can cancel it! Thanks in advance, Colin library (spatstat) kernelEst <- function (data, max.r = 10, edge = TRUE) { if (!is.ppp (data)) stop ("data must be a point process object") i <- 0.1 diff <- 1 smo <- 1 while (diff > 0) { olddiff <- diff oldsmo <- smo smo <- density.ppp (data, sigma = 2 * i,...