Displaying 20 results from an estimated 7000 matches similar to: "Finding the neighbors of the point"
2007 Mar 12
1
Analysis of 3-dimensional spatial point patterns
I am trying to determine how to evaluate homogeneity of points in
three-dimensional space.
In two-dimensional data, I have used functions available in the Spatial
package
and I've have looked into the spatstat package
but, as far as I can tell, neither appears to handle 3-dimensional
data.
Is there another version, package, or software that does the same type
(G-function,
2012 Jul 24
3
Nearest Neighbors
I was wondering if there is a way in R to find k nearest neighbors of various
orders, say order 2, 3, or 4. In otherwords neighbors of neighbors of
neighbors. You get the idea. I know that I can use knearneigh(matrix.data,
k) but this only gives me the k nearest neighbors and not of a particular
order.
Thanks in advance.
--
View this message in context:
2005 Aug 03
1
help for cell2nb and queencell in spdep package
Dear Dr. Bivand and R-users,
I have a 5 by 5 grid, say, location[1:5,1:5], and I want to know the
indices of 8 neighbours of each cell. For example, for location[2,2], its
neighbour coordinates are [1,1:3], [2,1], [2,3] and [3,1:3]. Sometimes I
also need to remove edge effects (torus = TRUE).
I have tried "cell2nb" function in your spdep package. Here's my example:
> neigh
2006 Mar 14
1
help on moran's I index of point pattern, not areal pattern
hi,friends,
we all know that moran's I index and Geary'C index can be used to test
spatial autocorrelation in both the area data and point data, but i only can
find something on how to calculate on the data of area, and can't find the
methods to perform it on the point data, could anybody give me some
information, thanks in advance!
--
Kind Regards,
Zhi Jie,Zhang ,PHD
Department of
2009 Jan 07
1
troubles performing Moran.I test
dear R users,
I have troubles performing Moran.I test as suggested on
http://www.ats.ucla.edu/stat/r/faq/morans_i.htm
my spatial data are longitude and lattitide of communities. The
calculation of the inverse distance matrix according to the homepage
(using my data)
datAL <- read.csv2("C:\\Konvergenz AL.csv", header=T)
ALdist <- as.matrix(dist(cbind(datAL$L?nge,
2011 Apr 19
1
SPDEP Package, neighbours list for Moran's I on large grid dataset
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20110419/a3438017/attachment.pl>
2005 Nov 16
1
spatial statistics on images, any packages?
Hi list,
Is there a package that covers the evaluation of spatial statistics on
images and not on point data? I've converted an image matrix to x, y
coordinates and a measurement value but evaluation with the package
spdep (not really designed for image data I suppose) is unworkable. Any
suggestions?
Regards,
Koen
2011 May 07
1
spdep::poly2nb problem
I downloaded a US states+territories shapefile from
http://www.weather.gov/geodata/catalog/national/html/us-state.htm
and unzipped it into my working directory.
Then in R (version 12.2.0 for ms-win32):
library(rgdal) # Version: 0.6-28
library(spdep) # Version: 0.5-24 (loads sp: Version: 0.9-72)
# read in the data
states<-readOGR(".","s_01de10")
summary(states)
# now
2008 Jan 14
2
knnFinder package
Dear all,
I have found some serious bugs in the knnFinder package (which supports
data structures and algorithms for both exact and approximate nearest
neighbor searching in arbitrarily high dimensions) that may trigger
segmentation faults.
I have fixed them but I had troubles to contact its maintainer Samuel E.
Kemp (previously with the University of Glamorgan, UK). Do someone know
where I
2007 Oct 15
1
Distance matrix in SpDep-package
Hello everybody,
I would like to use the SpDep-package (especially the Local Moran index
analysis and the Getis-Ord statistics) in R for analysing my data. However,
I don't have x-y coordinates, but my data is in a distance matrix format. Is
it possible to use the SpDep package with predefined distances as well
instead of letting the program determining the distance itself by the
function
2003 Jan 30
2
nearest neighbour interpolation
Dear Help List,
My name is Matt Oliver. I have been using R for about a year and find it very
helpful. However, I have a need for a function that I cannot find. I am not very
good at programming so I thought I would ask the group.
I have an irregular grid of data (x = Longitude, y = Latitude). Each pair of my x,y
has a categorical value. Obviously linear or any other numerically based
2018 Nov 10
2
Fedora 29 upgrade: texlive-scheme-medium may depend on R (texlive-includernw)
On Sat, 10 Nov 2018, I?aki Ucar wrote:
> On Sat, 10 Nov 2018 at 15:17, Roger Bivand <Roger.Bivand at nhh.no> wrote:
>>
>> On upgrading my F28 to F29, I've found that R-core and a number of R
>> packages:
>>
>> R-evaluate R-glue R-highr R-knitr R-magrittr R-markdown R-mime R-stringi
>> R-stringr R-yaml
>>
>> are installed, although I
2001 Jan 10
2
nearest neighbors
Is there an implementation of a reasonable k-nearest neighbor finder
already in one of the packages?
--
+---------------------------------------------------------------------------+
| Robert Gentleman phone : (617) 632-5250 |
| Associate Professor fax: (617) 632-2444 |
| Department of Biostatistics office: not yet
2007 Feb 06
2
How to do "moran's I test"?
I want to do "moran's I test" in R language. I try to use "gearymoran" in
Package "ade4","moran" in Package "spdep", and Moran.I in Package "ape". But
I do not know how to do it because data format is different.
My data:
x y dbh
111.03 10.7 7
118.11 0.28 1.2
165.36 0.36 8.4
2002 May 30
1
neighbor.grid and spatial.weights
Anyobody knows if functions neighbor.grid and spatial.weights (from
module spatial) have any 'equivalents' in R ?
Thanks.
JA
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the
2018 Nov 10
2
Fedora 29 upgrade: texlive-scheme-medium may depend on R
On upgrading my F28 to F29, I've found that R-core and a number of R
packages:
R-evaluate R-glue R-highr R-knitr R-magrittr R-markdown R-mime R-stringi
R-stringr R-yaml
are installed, although I only ever install R from source and always keep
my Rs locally. So I don't use Fedora R rpms, but these were installed
without my command.
Something in texlive is doing this. A remedy is to
2005 Nov 09
1
Replace missing values in spatial design using moving average
Dera R helpers,
I have a (x,y,z) data file where x and y are spatial coordinates and z a
variable. I have some missing values in the z column and I would like to
replace them with an optimized estimation from the neighbour cells. I could
not find any function in R to do that. Is anybody aware of such function ?
Maybe someone knows how to implement the Papadakis method in R...
Thanks for your
2004 Aug 19
3
Do you know if you can map a large minimum spanning tree in R?
Thanks Mike.
My data has longitude and latitude coords and I used distAB {clim.pact}
then mst {ape} to calculate my minimum spanning tree. The nodes are
telecoms sites from all over Australia. My goal is to determine the
minimum cost of linking them via cabling, and I'm starting by
calculating the distance "as the crow flies", but will probably
eventually need to calculate the
2004 Aug 23
2
Reading GAL file
Greetings:
I am trying to work with spdep (everything is "brand new" downloaded this morning). OS = Windows 2000 (also up to date). The code I am using follows:
#example
gal.county=read.geoda("lnpilnd.GAL", row.names=NULL, skip=0)
summary.nb(gal.county)
Error in summary.nb(gal.county) : Not a neighbours list
#end
The gal file works just fine in GeoDa (also up to date).
2004 Apr 26
2
Spatial Autocorrelation for point data
Hi R helpers,
Is there a function (package?) in R available which tests "spatial
autocorrelation" between points (e.g. vector layer of weather stations)?
(e.g. Moran's I...)
Via the archives we found out that there is a package 'spdep' which uses
grid data for testing spatial autocorrelation.
Thanks a lot,
Jan