Re: [R] [FORGED] Re: pair correlation function of 3D points

2020-04-29 Thread Adrian Baddeley
derstand what you mean. The help file gives journal paper references, and indicates that the code in pcf3est calculates the estimator described in the paper by Baddeley et al (1993). I am the author of the technical paper, the code, and the documentation. What exactly are you disputing? Regar

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Adrian Baddeley
Baddeley FAA University of Western Australia From: Christopher W. Ryan [cr...@binghamton.edu] Sent: Thursday, 19 June 2014 10:29 AM To: Adrian Baddeley; Pablo Ramón; Rolf Turner Cc: R-help Subject: Re: [R] empty density plot for point pattern in spatstat Let me

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Adrian Baddeley
by running 'example(plot.im)' or setting col=grey(seq(0,1,length=32)) in the call to plot.im Try setting 'useRaster=FALSE' in the call to plot.im. Let me know if any of these work. If not, let's talk on skype to figure it out. regards Adrian Prof Adrian Baddeley FAA University of Western

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Adrian Baddeley
upgrade to the current versions, R 3.1.0 and spatstat 1.37-0. A Prof Adrian Baddeley FAA University of Western Australia From: Pablo Ramón [para...@utpl.edu.ec] Sent: Thursday, 19 June 2014 9:12 PM To: Adrian Baddeley Cc: Rolf Turner; Christopher W Ryan; R-help

Re: [R] envelope in spatstat

2010-04-15 Thread Adrian Baddeley
=20 then the significance level is 1/21 = 4.8% (one-sided) or 2/21 = 9.5% (two-sided). If you want a significance level of 5%, you need either nsim=19 (one-sided) or nsim=39 (two-sided). Adrian Baddeley __ R-help@r-project.org mailing

Re: [R] Distances between two datasets of x and y co-ordinates

2010-03-17 Thread Adrian Baddeley
functions pppmatching and matchingdist which will create other kinds of pairings and measure the associated distances. These functions were written by Dominic Schuhmacher. Adrian Baddeley __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Spatstat: xy binary data into mask type to use in owin(mask=)

2009-10-20 Thread Adrian Baddeley
If 'X' is a data frame containing columns 'x', 'y' and 'value, try m - with(X, tapply(value, list(y,x), all)) z - im(m, xcol=sort(unique(X$x)), yrow=sort(unique(X$y))) w - as.owin(z) This will only work if the x, y values form a rectangular grid in some order. Adrian

Re: [R] Spatstat - K2 index

2008-12-01 Thread Adrian Baddeley
(assuming that it exists). Adrian Baddeley __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

[R] [R-pkgs] scuba 1.2-2 posted

2008-11-03 Thread Adrian Baddeley
M-value. ndl Improved numerical stability, in mixed-gas case. The return value of ndl now has an attribute which identifies the controlling tissue. showstates Improved plot labels. Adrian Baddeley, 30 october 2008

Re: [R] Spatstat help - quadratcount query

2008-10-22 Thread Adrian Baddeley
. Incidentally, please be warned that there is a bug in the plot method plot.quadratcount in spatstat 1.14-4 which causes the counts to be plotted in the wrong quadrats. This will be fixed in the next release spatstat 1.14-5, due shortly. Adrian Baddeley

Re: [R] Spatstat - Several density plots using the same scale

2008-10-10 Thread Adrian Baddeley
of trapped insects) observed at these locations. In spatstat you can use the command 'smooth.ppp' to perform kernel-weighted spatial interpolation. If the insect counts are small, then it would be more appropriate to do spatial Poisson regression (using other packages). Adrian Baddeley