[R-sig-Geo] Need Help With Loop

2013-04-16 Thread Reeder, Bryce Wesley
Dear List, This is likely a silly question, but I am just beginning to learn how to incorporate loops into my functions. I have written a function that allows me to perform a series of steps that I need to do: function.x <- function(x, y, window, b.size, k.keep){ ppp <- ppp(x, y, window=window

[R-sig-Geo] problem creating psp

2012-10-15 Thread Reeder, Bryce Wesley
Hello Everyone, I am currently trying to complete the simple task of converting a SpatialLinesDataFrame to PSP so that I can do kernel density estimation on the line pattern (density.psp). When I do this, however, I get an error that does not allow me to proceed. Here is the code I am using (alo

[R-sig-Geo] Geographic Profiling

2012-06-23 Thread Reeder, Bryce Wesley
Hello Everyone, I am looking for a package that performs geographic profiling (journey to crime analysis) in R. I am aware of the freeware package Crimestat, but it is too slow and tedious for my purposes. Does anyone know of any R packages that contain functions related to this technique? Than