Displaying 20 results from an estimated 2000 matches similar to: "Spatial data, rpoispp, using window with fixed radius?"
2009 Apr 09
1
Random Cluster Generation Question
Hello,
I am fairly new to R, but I am not new to programming at all. I want
to generate random clusters in a 1,000x1,000 box such that I end up
with a total of about 2,000 points. Once done, I need to export the
X,Y coordinates of the points.
I have looked around, and it seems that the spatstat package has what
I need. The rMatClust() function can generate random clusters, but I
have run into
2008 Feb 17
1
random location in polygons sp spsample splancs csr
Dear all,
I had to place points at random, one in each of larger number of
polygons (actually in objects of class 'SpatialPolygonsDataFrame' , see
sp library), and tried first to do it using spsample (from sp).
Surprisingly, every 5-15 trials, the output was a NULL value. The doc
says that ' this may occur when trying to hit a small and awkwardly
shaped polygon in a large
2008 Jul 26
2
Spatial Sample
Hi!
How can I make a spatial sample?
Can someone recommend theorical books and materials for this?
--
Raphael Saldanha
UFJF - Brazil
[[alternative HTML version deleted]]
2003 Apr 30
1
mpl in spatstat
Hello all,
I'm attempting to conduct spatial analysis of trees within a plot. I want to see if the trees are spatially correlated to soil characteristics, say pH, or moisture content. I think one way to do it is with mpl, however, my soil characteristics were not taken at exactly the same locations as my trees and further, the vectors aren't the same length. I'm getting the
2012 Feb 03
3
SPATIAL QUESTION: HOW TO MAKE POLYGONS AROUND CLUSTERS OF POINTS AND EXTRACT AREAS AND COORDINATES OF THESE POLYGONS?
Imagine that I have a large number of points (given by coordinates x and y) that vary in density per space. For the purpose of demonstration it could be generated like this: s <- data.frame(x=runif(10000,0,900),y=runif(10000,0,900)); plot(s)
I want to create polygons around the points where point density is greater than a selected threshold (for example, by using krieging or equivalent
2010 Apr 14
1
envelope in spatstat
Hi R users,
This query is regarding the use of the 'envelope' function in Spatstat.
My data can be represented as a point process with CONTINUOUS marks:
points <- ppp(x=x,y=y, marks=m, window= wind)
However the marks are alignments (lines), and so have to be treated
differently to normal scalar marks. Hence to create a mcf object with the
appropriate test function for alignment
2006 May 17
4
uniform and clumped point plots
I am trying to generate two dimensional random coordinates.
For randomly distributed data I have simply used
>xy<-cbind(runif(100),runif(100))
However I also want to generate coordinates that are more uniformly
distributed, and coordinates that are more contagiously distributed than
the above.
Can anyone make any suggestions
Thanks.
Dr Terry Beutel
Rangeland Scientist
Animal
2012 Dec 07
1
Fwd: Simulation of spatial Log-Gaussian Cox process in Spatstat
Hello,
I have fitted a Log-Gaussian Cox Process on my data but when I try to
use "simulate.kppm" of the spatstat package I get this error:
Error in rLGCP(model = model, mu = mu, param = param, ..., win = win) :
The spatial domain of the pixel image ?mu? does not cover the
simulation window ?win?
I've used covariates as im, changed the npixel value of the spatstat
options to
2009 Jan 11
2
I'm looking for a book about spatial point patterns (Diggle, 2003)
To understand some functions about spatial point patterns in "spatstat" ,I
should know some background about it, and the best way is to read the
monograph, and "Statistical Analysis of Spatial Point Patterns" (2nd edt.)
is a better choise. But I can not find it anywhere I can. Who can help me?
Thank you!
-----
unangu at gmail.com
--
View this message in context:
2002 May 07
4
attractive spatial point process?
Hi all,
before I roll my own, naive implementation of a particular
spatial point process, I thought I'd ask whether this has
already been done.
Specifically, I am looking for essentially the opposite of the
Strauss and Mate'rn processes included in library(spatial) and
documented in MASS. I am examining daily travel patterns, focusing
on just the destinations of trips, not the
2005 Oct 25
1
Writing point pattern to a file
Hi,
I am trying to use the R package 'spatstat' for generating spatial
poisson point process graphs. I can create a point pattern using the
following commands:
pp <- rpoispp(.01, win=owin(c(0,100),c(0,100)))
and also view the resulting graph by:
plot(pp)
But how can I export the generated point pattern to an external file so
that I could use it as input for some network
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,
2006 Apr 27
1
Symbol __f95_sign not found.
Our computing services people have recently reconfigured the Sun
compilers structure on our network, and I can no longer install, on
our Sun/Solaris machine, a certain package (spatstat) with which I am
heavily involved. (The same problem may well pertain to other
packages as well; I haven't yet experimented except with spatstat.)
Strictly speaking I can ***install*** it, but when I try
to
2005 Mar 05
1
spatstat on Win98 (PR#7715)
Full_Name: Georg Roth
Version: R.2.0.1.for Windows
OS: Win98
Submission from: (NULL) (134.95.43.165)
Using libraries "spatstat" and "sm" on R.2.0.1. under Windows 98
bug 1)
the libraries "spatstat" and "sm" are not properly identified by the
"library()" command on R.2.0.1. (R for Windows98). the libraryname is shown in
upper case
2009 May 10
1
Spatstat
Hi all,
I am trying to install Spatstat on OpenSUSE 11.1.
install.packages("spatstat", dependencies = TRUE)
fails on the basis of various compiler packages (full message below).
I have gcc version 4.3.2, which should include gfortran and g++ - so I'm not
sure what to do!
Richard
* Installing *source* package ?deldir? ...
** libs
gfortran
2009 Mar 06
1
help to use ppp in spatial analysis
Hi,
i am using spatstat package for spatial data analysis and now i have a problem to create a point pattern. The points are in file "points.txt" (first column for Latitude and second column for Longitude ) and I imported them and separated each columns in two arrays x and y. If I plots x and y ( e.g plot(x,y) ) the result appears in square area without problems and the scale is
2007 Nov 22
1
distance matrix to coordinate format for spatial stats
Greetings,
I would like to use some of the spatial statistics functions in R, but I am having trouble entering data. My data is already in a distance matrix format, not an X Y coordinate format (each Xij cell in the matrix represens the distance from point i to j). Does anyone know of a way to convert a distance matrix to a ppp object in spatstat, or an X,Y coordinate system for other
2011 Mar 19
1
Undefined symbol "Rf_pythag" while loading spatstat
Today I installed the newest R develepment branch
R version 2.14.0 Under development (unstable) (2011-03-18 r54866)
on FreeBSD 9.0-CURRENT (amd64). All seems fine so far.
After that I updated my R packages with option 'checkBuilt=TRUE'. There
are four packages (spatstat, pscl, adehabitatLT, adehabitatHR) which
gives an error like this:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
2010 Jan 18
1
how to install spatstat
Hi,
I tried to install spatstat using:
install.packages("spatstat", dependencies = TRUE, lib =
"./R/i486-pc-linux-gnu-library/2.8")
but got the following msg:
--- Please select a CRAN mirror for use in this session ---
<here i selected one mirror, and tried several mirrors)
Loading Tcl/Tk interface ... done
Warning message:
In install.packages("spatstat",
2009 Jan 02
0
Spatial Data Analysis in R [was: Basic Question about use of R]
resending to provide a more informative subject line....
On Fri, Jan 2, 2009 at 3:21 PM, Kingsford Jones
<kingsfordjones at gmail.com> wrote:
> Hi David,
>
> A general answer to your question is: yes, R would be useful for such
> analyses - particularly when interfaced with a GIS. For an
> introduction to the types of spatial tools available in R see the Task
> View for