Displaying 20 results from an estimated 8000 matches similar to: "ppp from SpatStat"
2005 Dec 09
1
O-ring statistic
Rainer M Krug writes:
> Thorsten Wiegand used in his paper Wiegand T., and K. A. Moloney 2004.
> Rings, circles and null-models for point pattern analysis in ecology.
> Oikos 104: 209-229 a statistic he called O-Ring statistic which is
> similar to Ripley's K, only that it uses rings instead of circles.
>
> http://www.oesa.ufz.de/towi/towi_programita.html#ring
2005 Oct 10
3
Vectorizing loop
Hi
I have the following loop and would like to vectorize it. Any ideas if
it is possible?
Thanks,
Rainer
Tha Loop:
for (i in 2:Result$NoSims)
{
ppp <- runifpoint(Result$NoPlants)
K <- Kest(ppp)
Result$LSim[i,] <- sqrt(K$iso / pi) - K$r
CM <- (Result$LSim[i,] * Result$LSim[i,]) / abs(K$r[2] - K$r[1])
Result$SigCM[i] <- sum(CM, na.rm=TRUE)
print(i)
flush.console()
}
2013 Mar 21
3
spatstat error
Good day
Im working with some coordinates, and want to create a PPP object, I found
that error:
> Datos=read.table("puntos_texto.txt",dec=".",sep="\t",header=T)
> summary(Datos)
id y x
Min. : 1.0 Min. :1013581 Min. :1177842
1st Qu.: 821.2 1st Qu.:1014442 1st Qu.:1179658
Median
2007 Apr 27
1
Quadratcount() plotting in R spatstat
Hello,
I am trying to plot a quadratcount object over a ppp object in the spatstat
package. I ultimately want to get something like this
http://bg9.imslab.co.jp/Rhelp/R-2.4.0/src/library/spatstat/man/images/big_quadratcount_001.png
http://bg9.imslab.co.jp/Rhelp/R-2.4.0/src/library/spatstat/man/images/big_quadratcount_001.png
See
2008 Feb 14
1
Analysis with spatstat and Kcross() requires to much memory
Hi
I am running analysis with Kcross from the package spatstat and I am getting
a message that R can not allocate enough memory for a vector of 900MB.
R seems to be running towards the 2GB limit per process.
The dataset is not to big (ca 3000 points) but the mask for the points is
extremely irregular (a buffer around roads which have been sampled) and I
can do trhe analysis if I use a
2006 Jan 12
1
envelopes of simulations
Hello!
I am writing you because I could not plot the confidence envelopes for
functions Jest, Jcross, Jdot, Jmulti, and L, using the Spatstat package.
I have already understood how to do that for Kest or Jest, that is:
JEnv <- plot(envelope(PPPData, Jest))
Where PPPData is my ppp object.
However, for Jcross I must specify the two marks I want to analyse.
That is, usually I would get the
2011 Feb 16
1
help with spatstat ppp transformation data
Hello
I am currently studying spatial distribution of lizards in Spain and
Germany. For this I am using the spatstat package of R to make a
Kolmogorov-Smirnov
test of CSR of unmarked points data.
I have problems transforming the data to ppp class, and I would like to know
if you can help me. I have already made the test with the data of
'japanesepines' that comes with the package, and
2005 Sep 01
2
SpatStat Kest - Error Message help
Hi I'm working with the function Kest in the package SpatStat (under LINUX
with R 2.1.0). In order to evaluate the statistical significance of my
point pattern I'm doing 999 Montecarlo replications. The script that use
the Kest function runs OK for most of the different point patterns that I
have but for a particular point pattern, which have only 17 points, it
runs until the 34th
2008 Oct 22
1
Spatstat help - quadratcount query
Hi all,
I am using quadratcount in spatstat to divide a window containing a
point pattern into a grid of quadrats containing the intensity of points
in each quadrat. My data is in UTM co-ordinates. My window is defined
as follows:
>p15<-ppp(x,y,window=owin(c(341710,342100),c(3126465,3126780)),marks=NUL
L, checks=TRUE)
Giving me a distance of 390m in the 'x' direction and 315m in
2012 Mar 28
3
Spatstat users.
This is a cry for help. My apologies for taking up bandwidth
with an issue that is not really on topic. But I really do want
to acquire the requested information.
In the course of preparing my PBRF (performance based research
funds) portfolio for the upcoming PBRF exercise here in New Zealand,
I have been advised that I should provide some estimate of the number
of "active users" of
2005 Oct 10
5
Show Progress in loop
Hi
I have a loop which is doing time consuming calculations and I would
like to be able to have some feedback on where it is in it's
calculations. I tried to simply show the counter variable in the loop,
but id doesn't work as all display seems to be delayed until the loop is
completed. Is there any way of displaying the progress of a loop?
Rainer
The loop:
for (i in
2005 Jan 27
7
getting package version inside .First.lib
Greetings -
Is it possible, inside .First.lib,
to find out the version number of the package that is being loaded?
If only one version of the package has been installed,
we could scan the DESCRIPTION file, something like
.First.lib <- function(lib, pkg) {
library.dynam("spatstat", pkg, lib)
dfile <- system.file("DESCRIPTION", package="spatstat")
2011 Sep 23
1
spatstat => owin + image
Dear Community
I am at my wits end and seek advice.
My wish is to plot coordinates (x,y in WGS84_UMTS for the ones interested)
of sampling points.
This I can do by the standard spatstat prodcedure via owin. I then try to
add an image, which is
a map/satellite photo in the background.
Firstly
Problem: With the current code, I can not get the edges of the image to
match the boarders of the plot
2005 Sep 30
2
Creating an array [0 to 101] of a list
Hi
I looked, but I didn't find it:
I need an array [0 to 101] where each element is a list (the result of
Kest in spatstat).
I.e. I want to do:
A[2] <- Kest(pp1)
A[3] <- Kest(pp2)
...
A[101] <- Kest(pp100)
How can I create A ?
Rainer
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology
University of Stellenbosch
Matieland
2012 Apr 16
2
Creating a point pattern with spatstat
I have presence/absence data in the following format:
1 2 3 4 5 6 7 8 9 10 11 12
1 1 1 1 1 1 1 1 1 1 1 1 0
2 1 1 1 1 0 1 1 1 1 1 1 0
3 1 1 1 1 1 1 1 1 1 1 0 1
4 1 1 1 1 1 0 1 1 1 1 0 1
5 1 1 1 1 1 1 1 0 0 1 1 1
6 1 1 1 0 0 1 0 0 1 1 1 1
7 1 1 1 1 0 1 1 0 0 0 1 1
8 1 1 1 1 1 1 1 0 0 0 1 0
9 1 1 1 1 0 0 1 0 0 0 1 1
10 1 1 1 1 1 1 1 0 0 0 0 1
11 1 1 1 1 1 1 1 1 1 0 0 1
12 1 1 1 1 1 0 0 0 1 1 1 1
2014 Jul 30
2
listof
Dear R developers
A question about the class 'listof', defined in package 'stats'.
Other than its definition and use in the code for 'anova',
we can't see that the class 'listof' is used for anything else
(in recommended packages, or elsewhere).
In the spatstat package we have been using a 'listof'
to represent a list of spatial objects of the same
2007 Jul 13
1
spatstat - Fitting a Strauss model with trend determined by kernel density smoother
Dear r-help,
I would like to use the 'ppm' function of the 'spatstat' package to
fit a Strauss inhibition model. I understand that I can specify a
parametric model for the "background" trend, but how would I specify a
trend which is estimated using a Kernel density smoother?
In particular, I would like to use the 'kde' function of the 'ks'
package to
2007 Sep 20
2
referencing packages?
Hi
I know how to referenc R in a scientific paper - but is there a
standardised way to reference packages?
Thanks
Rainer
--
NEW EMAIL ADDRESS AND ADDRESS:
Rainer.Krug at uct.ac.za
RKrug at sun.ac.za WILL BE DISCONTINUED END OF MARCH
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Plant Conservation Unit
Department of Botany
University of Cape Town
Rondebosch 7701
2004 May 29
1
Rhelp: Need help interpreting plots in spatstat
Hello everybody--
I have been playing with my data in spatstat, and what I'd like to
present is a basic exploratory spatial analysis. I have used the
following code, using a ppp.object called tsdspoints. The code
develops the simulations and the envelopes I want, but I don't
understand my first plot here, the [tsds.ghat.short$r,
tsds.ghat.short$raw]...I cobbled together this code
2010 Jun 05
1
spatstat sub-selection
Fellow Users,
In Spatstat, if you have a ppp object with, say 100 points, how do you
create another ppp containing a random selection, N, of the original?
You can tell the function 'rthin' to make a sub-selection of points, i.e.
"every point is removed with probability 0.5" but you CAN'T set N exactly...
I'm sure this should be easy...
Ta!
Tom
--
View this message