Re: [R-sig-Geo] question about object 'col.gal.nb'

2012-05-10 Thread Tom Gottfried
please read the posting guide http://www.r-project.org/posting-guide.html and try to find the differences between the data which come with R and your own respectively try to produce a reproducible example. HTH, Tom Am 11.05.2012 00:16, schrieb Eder Gerardo Quiñones Sanchez: Hi, i'm trying

Re: [R-sig-Geo] gdistance resistanceDistance error

2012-05-10 Thread karljarvis
Hi all, As long as you're on the subject of the resistanceDistance function, I hope you don't mind a different question. In a homogeneous landscape, shouldn't equidistant points have the same resistance values? There is no directionality to this implementation of the circuitscape-type approach, so

[R-sig-Geo] question about object 'col.gal.nb'

2012-05-10 Thread Eder Gerardo Quiñones Sanchez
Hi, i'm trying to use the following code for calculate a Distance Matrix: *area <- readOGR(dsn="C:/stl_hom", layer="stl_hom")* * * *coords <- coordinates(area)* * * *col.gal.nb* * * *summary(col.gal.nb, coords)* it is functioning very well with the R-data included, but when i use a data from a S

Re: [R-sig-Geo] [R-sig-eco] Question about Mantel Test

2012-05-10 Thread Sarah Goslee
Hi, Please don't cross-post. A Mantel test is most suited to problems that must be expressed in terms of distances, as Legendre states, although there is a mathematical relationship between correlation between distances and correlation between raw data. If your main concern is statistical testin

[R-sig-Geo] Question about Mantel Test

2012-05-10 Thread Jaime Burbano Girón
Hi every body. I have some questions about Mantel Test. I expect that with experience in spatial analysis of people in this list I can resolve them. Your explanations and suggestions will help me so much, so, thanks in advance. For contextualizing. I want to explore the association between some e

Re: [R-sig-Geo] analyzing spatial segregation of sexes

2012-05-10 Thread Wall, Wade A ERDC-RDE-CERL-IL
All, Thanks for help on this. I think that I now understand the ppp object. Marcelino, thanks for the excellent explanation of implementing the multitype K function. I think this is the approach that I should take in analyzing the data, as Mathieu suggested. Robert, thanks for the link to the

Re: [R-sig-Geo] Missing local R-squared and residuals in gwr output

2012-05-10 Thread Roger Bivand
On Thu, 10 May 2012, Maximilian Sproß wrote: Dear Roger! Your are right, there are no problems anymore. I did some some comparative tests with a small subset of the dataset. The number of values in the "pred" column, which are not finite depends on the bandwidth. With increasing bandwidth, t

Re: [R-sig-Geo] analyzing spatial segregation of sexes

2012-05-10 Thread Marcelino de la Cruz
Hi, with respect to the implementation of the "Bivariate i.e.2-type point pattern (see package 'spatstat')" you may do something like this: library(spatstat) plants.ppp <- ppp( x = example$x, y =example$y, marks=factor(sex), window = yourwindow), where "example" is a data.frame with your d

Re: [R-sig-Geo] Missing local R-squared and residuals in gwr output

2012-05-10 Thread Maximilian Sproß
Dear Roger! Your are right, there are no problems anymore. I did some some comparative tests with a small subset of the dataset. The number of values in the "pred" column, which are not finite depends on the bandwidth. With increasing bandwidth, the NA's disappear. Unfortunately, I cannot co

Re: [R-sig-Geo] analyzing spatial segregation of sexes

2012-05-10 Thread Mathieu Rajerison
Hi! Why not use, for example, KCross spatstat function, given two point patterns: one for male individuals and one for female ones? 2012/5/9 Wall, Wade A ERDC-RDE-CERL-IL > Hi all, > > I have a data set that consists of x,y coordinates for individual plants, > along with sex of the individual.