[R-sig-Geo] Can anybody show me a complete example to use km.rs(spatstat) function to do survival analysis?

2007-03-04 Thread zhijie zhang
Dear friends, Did anybody have experience on doing survival analysis of point pattern using km.rs(spatstat) function? I noticed that the function "km.rs" for SpatStat package could be used to do survival analysis of point pattern, but i didn't find a relatively complete example to show how to u

Re: [R-sig-Geo] Directional statistics and weighted mean directions

2007-03-04 Thread Takatsugu Kobayashi
R users: This is more of a general question. I am trying to conduct hypothesis testing about the difference of two angles extending from the same point. I am reading directional statistics by Mardia, but it seems to talk about only frequency distribution on the circumference drawn by the unit

Re: [R-sig-Geo] How can I view a list of neighbors from the outcome knn2nb

2007-03-04 Thread Takatsugu Kobayashi
Hi I am trying to create a list of nearest neighbors using knearneigh and dinearneigh. To understand these I have been coding what these functions do: For example, for dnearneigh, suppose I have x-y coordinates and the corresponding z values # calculate distances between observations data<-cbi