Re: [R] spatstat installation

2020-04-14 Thread Bert Gunter
If you don't receive a satisfactory answer here in a day or so, post on the R-sig-geo list where the experts in this sort of thing hang around. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Brea

[R] spatstat installation

2020-04-14 Thread Mauro Pedone
Hello , I am trying the spatstat package installation on R 3.3.0 the package is spatstat_1.63-3.tar.gz ,the OS is oracle enterprise linux 7 at the end I receive the error Error : .onAttach failed in attachNamespace() for 'spatstat', details: call: if (today - as.Date(rdate) > 365) { error: mi

Re: [R] [spatstat] Convert shapefile to pixel image

2017-06-01 Thread Michael Sumner
Try fasterize, converting to spatstat from raster is straightforward, happy to help. https://github.com/ecohealthalliance/fasterize Cheers, Mije On Fri, 2 Jun 2017, 07:45 Rolf Turner, wrote: > > On 02/06/17 01:17, lluis.hurt...@uv.es wrote: > > > Dear all, > > > > I am currently working with t

Re: [R] [spatstat] Convert shapefile to pixel image

2017-06-01 Thread Rolf Turner
On 02/06/17 01:17, lluis.hurt...@uv.es wrote: Dear all, I am currently working with the spatstat package, using windows and pixel images. First: My aim is to transform a shapefile (see attached) into a pixel image. My idea is to start transforming the shapefile into a Spatial Polygon file:

Re: [R] [spatstat] Convert shapefile to pixel image

2017-06-01 Thread MacQueen, Don
This looks like to would be better to ask on R-sig-geo, instead of R-help. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 6/1/17, 6:17 AM, "R-help on behalf of lluis.hurt...@uv.es" wrote: Dear all, I am cur

[R] [spatstat] Convert shapefile to pixel image

2017-06-01 Thread Lluis.Hurtado
Dear all, I am currently working with the spatstat package, using windows and pixel images. First: My aim is to transform a shapefile (see attached) into a pixel image. My idea is to start transforming the shapefile into a Spatial Polygon file: x <- readShapeSpatial("21441.shp") y <- as(

[R] [spatstat] Convert shapefile to pixel image

2017-06-01 Thread Lluis.Hurtado
Dear all, I am currently working with the spatstat package, using windows and pixel images. First: My aim is to transform a shapefile (see attached) into a pixel image. My idea is to start transforming the shapefile into a Spatial Polygon file: x <- readShapeSpatial("21441.shp") y <- as(

Re: [R] spatstat rmh problem

2014-09-16 Thread Sebastian Schutte
You should use: plot(density(rmh(mod,new.coef=c(1,200 Sorry, my bad, typo in the example code. (2) However, even when the correct call is given you still wind up with identical densities!!! Hm. I think this may be a bug; I'll will check with the other authors of spatstat and repor

Re: [R] spatstat rmh problem

2014-09-16 Thread Rolf Turner
There was indeed a bug in rmh() w.r.t. the "new.coeff" argument. The bug has been fixed and will not be present in the next release of spatstat. cheers, Rolf Turner On 16/09/14 16:30, Sebastian Schutte wrote: Thanks so much for your comments. Sorry for not having sent a running example from

Re: [R] spatstat rmh problem

2014-09-15 Thread Rolf Turner
OK. Two things are going wrong. (1) There is an error in your code. You are passing the new.coef argument to density() and not to rmh(). The function density() has no such argument, but has a "..." argument, so "new.coef" simply gets ignored. You should use: plot(density(rmh(mod,new.coef=

Re: [R] spatstat rmh problem

2014-09-15 Thread Sebastian Schutte
Thanks so much for your comments. Sorry for not having sent a running example from the start. Here it is: library (spatstat) #Load example data data(demopat) #Generate a random point pattern within the polygon set.seed(12345) pdat <- rpoint(200,win=demopat$window) #Generate a distmap, which wi

Re: [R] spatstat rmh problem

2014-09-15 Thread Rolf Turner
Your example is not reproducible. We don't have "cshape" or "im.pop" (and are possibly lacking other bits and pieces; I didn't check the details since the example fails to run from the get-go). Please provide a *reproducible* example. Also I am puzzled by the line mod <- ppm (ppp, ~ pop

[R] spatstat rmh problem

2014-09-15 Thread Sebastian Schutte
Dear R and spatstat developers, Thanks so much for the time and effort that you invest into this awesome software. I have a problem simulating from a Point Process Model in spatstat. In summary, the option "new.coef" should allow me to use a fitted model and change its beta coefficients before

[R] spatstat rmh problem

2014-09-15 Thread Sebastian Schutte
Dear R and spatstat developers, Thanks so much for the time and effort that you invest into this awesome software. I have a problem simulating from a Point Process Model in spatstat. In summary, the option "new.coef" should allow me to use a fitted model and change its beta coefficients before

Re: [R] spatstat package: Simulating from fitted Matern cluster process model fails

2014-07-06 Thread Rolf Turner
There appears to be a small bug in the code. What is happening is that occasionally there are simulated points that lie inside your triangular window but do not lie inside any pixel of the image created from your "distorigin()" function. This will be fixed in a future release of spatstat.

[R] spatstat package: Simulating from fitted Matern cluster process model fails

2014-07-06 Thread Philipp Hunziker
Dear R-help list, I'm using the excellent spatstat package to fit an inhomogeneous Matern cluster point process model, but unfortunately I'm unable to simulate new data points from the fitted object. Specifically, I get the following error message: Error in rthin(result, P) : some points of X

Re: [R] spatstat output

2013-07-07 Thread Rolf Turner
On 07/07/13 22:12, catalin roibu wrote: Dear R users, Is there a possibility to extract only the r, CI's envelope and L function from the output of spatstat? I use this code E <- alltypes(df1, Kest, nsim = 100, envelope = TRUE,savepatterns=TRUE,correction="isotropic") And second question, is ther

[R] spatstat output

2013-07-07 Thread catalin roibu
Dear R users, Is there a possibility to extract only the r, CI's envelope and L function from the output of spatstat? I use this code E <- alltypes(df1, Kest, nsim = 100, envelope = TRUE,savepatterns=TRUE,correction="isotropic") And second question, is there a possibility to modify the margin of pl

Re: [R] spatstat error

2013-03-22 Thread Rolf Turner
Questions about spatstat should be directed to the R-Sig-Geo list, or better still, to the package maintainers. To add a bit to what Blaser Nello has already told you: (1) Your syntax in respect of the use of the min() function is indeed incomprehensibly bizarre. (2) Blaser Nello has indicated

Re: [R] spatstat error

2013-03-22 Thread Rolf Turner
Questions about spatstat should be directed to the R-Sig-Geo list, or better still, to the package maintainers. To add a bit to what Blaser Nello has already told you: (1) Your syntax in respect of the use of the min() function is indeed incomprehensibly bizarre. (2) Blaser Nello has indicated

Re: [R] spatstat error

2013-03-22 Thread Blaser Nello
) danta=ppp(Datos$x,Datos$y,c(1177842,1180213),c(1013581,1015575)) -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of papao Sent: Freitag, 22. März 2013 00:20 To: R-help@r-project.org Subject: [R] spatstat error Good day Im working

[R] spatstat error

2013-03-21 Thread papao
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

Re: [R] spatstat kstest

2013-02-07 Thread Hiroshi Saito
Thanks. On Thu, 07 Feb 2013 11:46:36 + Rui Barradas wrote: > Hello, > > Try the following. > > > maintainer("spatstat") > [1] "Adrian Baddeley " > > > Hope this helps, > > Rui Barradas > > Em 07-02-2013 02:05, Hiroshi Saito escreveu: > > Dear sir, > > > > Which mailing list is approp

Re: [R] spatstat kstest

2013-02-07 Thread Rolf Turner
It is also acceptable (and often useful) to ask on the R-Sig-Geo list. Bug reports should of course be sent to Prof. Baddeley. cheers, Rolf Turner On 02/08/2013 12:46 AM, Rui Barradas wrote: Hello, Try the following. > maintainer("spatstat") [1] "Adrian Baddeley " Hope this h

Re: [R] Spatstat - Kest, envelope problem

2013-02-07 Thread Rolf Turner
P. S. I just noticed that you referred to the envelopes produced as "confidence" envelopes. They are ***NOT*** confidence envelopes!!! They are "critical" envelopes. This is a very different concept. Repeat after me, 50 times: critical envelopes, critical envelopes, critical envelopes, .

Re: [R] Spatstat - Kest, envelope problem

2013-02-07 Thread Rolf Turner
You can solve this problem by actually *reading* the error message. Evidently the object "point" is a marked point pattern whose marks are in the form of a data frame. So either: (1) Do not create "point" as a marked point pattern --- i.e. don't add a "marks" component when you create

[R] Spatstat - Kest, envelope problem

2013-02-07 Thread Pavel_K
Hello, I am writing cause I have a problem when try to create confidence envelopes in spatstat. I have a point data representing firms in my study area. When I try to create confidence envelopes the error message turns up: [> p <- envelope(point, fun=Kest, nsim=99) Error in marks.ppp(Y, dfok = FA

Re: [R] spatstat kstest

2013-02-07 Thread Rui Barradas
Hello, Try the following. > maintainer("spatstat") [1] "Adrian Baddeley " Hope this helps, Rui Barradas Em 07-02-2013 02:05, Hiroshi Saito escreveu: Dear sir, Which mailing list is appropriate to ask for kstest in spatstat? Regards, Hiroshi Saito * Hiroshi Saito: E

[R] spatstat kstest

2013-02-06 Thread Hiroshi Saito
Dear sir, Which mailing list is appropriate to ask for kstest in spatstat? Regards, Hiroshi Saito * Hiroshi Saito: E-MAIL: saito.hiro...@lab.ntt.co.jp http://www9.plala.or.jp/hslab/ PHONE: +81 422 59 4300 FAX: +81 422 59 6364 __

Re: [R] Spatstat: Mark correlation function

2012-11-23 Thread Rolf Turner
On 24/11/12 06:36, AMFTom wrote: I normally use the following code to create a figure displaying the mark correlation function for the point pattern process "A": M<-markcorr(A) plot(M) I have now started to use the following code to perform 1000 Monte Carlo simulations of Complete Spatial Rand

[R] Spatstat: Mark correlation function

2012-11-23 Thread AMFTom
I normally use the following code to create a figure displaying the mark correlation function for the point pattern process "A": M<-markcorr(A) plot(M) I have now started to use the following code to perform 1000 Monte Carlo simulations of Complete Spatial Randomness (CSR). It is a Monte Carlo t

Re: [R] SPATSTAT: Minimum points for a Ripley K to be sensible?

2012-07-02 Thread Adrian.Baddeley
Sebastian Pucilowski writes: > What are the minimum number of points in a point pattern before a > clustering analysis using a Ripley K function loses any meaning? It depends what are your definition of `meaningful'. The K-function doesn't become meaningless (undefined) until there are fewer

[R] SPATSTAT: Minimum points for a Ripley K to be sensible?

2012-07-01 Thread Sebastian Pucilowski
Hello, What are the minimum number of points in a point pattern before a clustering analysis using a Ripley K function loses any meaning? I haven't been able to find much comment in the literature about this --- instead case examples typically use 100-200 points as a minimum. Regards, Sebastian

Re: [R] Spatstat users.

2012-03-29 Thread Graham Smith
Yes I am an active spatstat use On Wednesday, 28 March 2012, Rolf Turner wrote: > > 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 (perf

Re: [R] Spatstat users.

2012-03-28 Thread Rolf Turner
Further to my cri de coeur of yesterday, asking people to indicate whether they are "active spatstat users". I've had quite a few replies but I'd like a lot more. Please answer; it'll only take you a few seconds. Just reply to this email with a "Yes" (yes I am an active spatstat user) or "No" (

Re: [R] Spatstat users.

2012-03-28 Thread David Winsemius
"No I am not an active spatstat user". David Winsemius, MD West Hartford, CT __ 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 c

[R] Spatstat users.

2012-03-28 Thread Rolf Turner
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,

Re: [R] Spatstat - coordinates in observation window

2012-03-16 Thread Rolf Turner
On 16/03/12 23:02, Lucie V wrote: Dear R users, I wish to run spatial point pattern analysis (e.g. pair correlation function, mark correlation function) for which I need to create an observation window (window=owin) from which the spatial analysis is generated. The command I used to create th

[R] Spatstat - coordinates in observation window

2012-03-16 Thread Lucie V
Dear R users, I wish to run spatial point pattern analysis (e.g. pair correlation function, mark correlation function) for which I need to create an observation window (window=owin) from which the spatial analysis is generated. The command I used to create this observation window as

Re: [R] Spatstat - problem with which.marks and as.pp

2011-12-05 Thread Rolf Turner
Basically the problem is that you have a *VERY* old version of spatstat. Upgrade! Comments interpolated below. On 05/12/11 21:52, karajamu wrote: I forgot to change the header, so I guess no one read my mail. That's why I'm trying it again... Hello everbody, I am new to this mailing list

[R] Spatstat - problem with which.marks and as.pp

2011-12-05 Thread karajamu
I forgot to change the header, so I guess no one read my mail. That's why I'm trying it again... > > > Hello everbody, > > I am new to this mailing list and hope to find some help. > I'm trying to get into the spatstat package and encountered two problems. > First a graphical one: > There i

Re: [R] spatstat => owin + image

2011-09-26 Thread tkdweber
Hej, Thanks for the idea. I will try and see if I can make progress. + I appologise for the shortcut explanations. I'll dedicate myself to greater accuracy in future. tkd -- View this message in context: http://r.789695.n4.nabble.com/spatstat-owin-image-tp3837023p3843284.html Sent from the R he

Re: [R] spatstat => owin + image

2011-09-23 Thread Rolf Turner
On 24/09/11 02:32, tkdweber wrote: 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. You appear to be rather confused from the very

[R] spatstat => owin + image

2011-09-23 Thread tkdweber
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 Prob

Re: [R] spatstat regression troubles

2011-04-16 Thread Rolf Turner
On 17/04/11 02:17, Gregory Ryslik wrote: Hi Mr. Turner, You are correct that I am confused a bit by the RCode. Basically, I have 3772 observations of data and only about 500 500? You said 944 previously. Doesn't really matter, but. of them correspond to where "people" exist. For the ot

Re: [R] spatstat regression troubles

2011-04-16 Thread Rolf Turner
On 17/04/11 02:17, Gregory Ryslik wrote: Hi Mr. Turner, You are correct that I am confused a bit by the RCode. Basically, I have 3772 observations of data and only about 500 500? You said 944 previously. Doesn't really matter, but. of them correspond to where "people" exist. For the ot

Re: [R] spatstat regression troubles

2011-04-16 Thread Gregory Ryslik
Hi Mr. Turner, You are correct that I am confused a bit by the RCode. Basically, I have 3772 observations of data and only about 500 of them correspond to where "people" exist. For the other observations, I just have the covariate values so I thought that this was appropriate. Thus, where "pe

Re: [R] spatstat regression troubles

2011-04-16 Thread Rolf Turner
On 16/04/11 15:50, Gregory Ryslik wrote: Hi Everyone, I am trying to figure out the spatstat package for the first time and am having some trouble. Unfortunately, I can't post my data set but I'll hopefully post enough details for some help. I want to model the intensity of a spatial point pr

[R] spatstat regression troubles

2011-04-15 Thread Gregory Ryslik
Hi Everyone, I am trying to figure out the spatstat package for the first time and am having some trouble. Unfortunately, I can't post my data set but I'll hopefully post enough details for some help. I want to model the intensity of a spatial point process using 2 covariates from my data. Aft

[R] spatstat ppm models with covariates

2011-02-15 Thread Chi Michael
Hello R users, I am fitting spatial point process models in spatstat using ppm and my models actually contain spatial covariates. The results of the models are returned with some levels of the covariates absent. eg when I fit a model with "aspect" using: ppm(points, ~aspect, covariates=list(

[R] Spatstat - envelope, Thomas process and Cramer-von Mises

2011-02-14 Thread Jeff Fang
Hi all, I am using "spatstat" to investigate the spatial structure of some plant populations, and I want to detect these patters with IPP and a Thomas process based on pair-correlation function. I know the function "pcfinhom" is available to characterize the IPP, but I have no idea about how to us

[R] spatstat theoretical values from inhomogeneous Poisson models

2011-01-19 Thread Chi Michael
Hello, I am using the Kinhom function to plot envelopes from my fitted inhomogeneous models in spatstat. But the results I obtain do not have a theoretical value (theo). They only give me the "hi", "lo", "r" and "mmean" values but no "theo".  Please can anyone help? Mike. [[al

[R] spatstat error with plotting envelopes for fitted model

2010-11-09 Thread Neba Funwi-Gabga
Hello, I am facing an error when I try to plot envelopes of a fitted model in spatstat. My model is fitted using the Geyer Saturation process as follows: *> geyer.fit<-ppm(points, ~el+asp, Geyer(r=1, sat=2), covariates=list(el=el, asp=asp))* It fits well, but when I try to plot the envelopes to t

[R] Spatstat rmh function error message

2010-11-05 Thread Neba Funwi-Gabga
Hello, I have fitted a Poisson Process model in spatstat using >fit1<-ppm(points, ~elevation, covariates=list(elevation=elevation.im)) This far, everything went well, but I try to simulate the fitted model using the function: >sim1<-rmh(fit1) But I get the error message: "Extracting model infor

[R] Spatstat: tessellation problems.

2010-10-20 Thread Neba Funwi-Gabga
Hello R Users, I am trying to do a quadrat count defined by covariate properties in spatstat. I have read my elevation raster into R (from ascii) and converted to class "im" for use in spatstat. Now I have point data of class "ppp" which window is the same extent as the elevation image. I can conve

[R] Spatstat Tessellation error

2010-10-16 Thread Neba Funwi-Gabga
Hello R Users, I am trying to do a quadrat count defined by covariate properties in spatstat. I have read my elevation raster into R (from ascii) and converted to class "im" for use in spatstat. Now I have point data of class "ppp" which window is the same extent as the elevation image. I can conve

Re: [R] spatstat sub-selection

2010-06-06 Thread Joris Meys
You can't specify it in rthin, which I can understand for the simple reason that this violates the independence of the sampling. If you put a fixed limit on your resampling, the chance of being selected depends on when some point is selected. You could do it by hacking the object : rthin.exact <-

[R] spatstat sub-selection

2010-06-05 Thread Tom_R
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 e

Re: [R] Spatstat, markcorr, max. radius limited??

2009-11-22 Thread Rolf Turner
On 21/11/2009, at 12:01 AM, rudi1...@gmx.de wrote: Hello, could please somebody help me. I want to apply the mark correlation function but for radii up to 75 meters (in 75 individual 1m steps). Unfortunately, "There is a sensible default for the values of the argument r at which the mark

[R] Spatstat, markcorr, max. radius limited??

2009-11-20 Thread rudi1978
Hello, could please somebody help me. I want to apply the mark correlation function but for radii up to 75 meters (in 75 individual 1m steps). Unfortunately, "There is a sensible default for the values of the argument r at which the mark correlation function kf (r) should be evaluated", so that

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. Adri

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

2009-10-19 Thread Rolf Turner
In the first instance, questions about contributed packages should be addressed to the package maintainers rather than to the R-help list. On 20/10/2009, at 2:06 AM, Javier PB wrote: Dear users, I am trying to export polygons from Arcmap into Spatstat to run some simulations using functions a

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

2009-10-19 Thread Javier PB
Dear users, I am trying to export polygons from Arcmap into Spatstat to run some simulations using functions available in Spatstat package. One particular area to be exported is formed by a number of polygons defining the external boundaries of the area (as a groups of islands) and a number of p

[R] spatstat: help with calculating number of clusters, cluster size

2009-06-13 Thread Soumya Prasad
Hi, I am new to spatial statistics and have a few basic queries. I am analysing the spatial pattern of trees on a large plot. I wanted to know if there is there some way of obtaining estimates of the number of clusters and cluster-radius (in an iterative fashion) after fitting a spatial point proc

[R] spatstat: changing r limits when plot envelope

2009-06-08 Thread milton ruser
Dear all, I need to change the default of "r" when plotting the output of the envelope function of spatstat package. I can do this manually for the Lest output: ## Example from spatstat Kest help data(cells) L <- Lest(cells, correction="isotropic", r=seq(from=0,to=0.5, by=0.05)) x11(1000,400)

Re: [R] Spatstat

2009-05-10 Thread Richard Chirgwin
Peter Dalgaard wrote: > Richard Chirgwin wrote: >> 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 shou

Re: [R] Spatstat

2009-05-10 Thread Peter Dalgaard
Richard Chirgwin wrote: 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

[R] Spatstat

2009-05-09 Thread Richard Chirgwin
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!

Re: [R] Spatstat - K2 index

2008-12-01 Thread Adrian Baddeley
Gough Lauren wrote: I'm using spatstat to investigate the spatial structure of an arid shrub population. The first-order intensity of my data does not appear to be homogenous, so I would like to use inhomogeneous techniques. I realise there is a inhomogeneous K-function available in spatstat, b

Re: [R] Spatstat - K2 index

2008-12-01 Thread Rolf Turner
On 2/12/2008, at 4:30 AM, Gough Lauren wrote: Hi all, I'm using spatstat to investigate the spatial structure of an arid shrub population. The first-order intensity of my data does not appear to be homogenous, so I would like to use inhomogeneous techniques. I realise there is a inhom

[R] Spatstat - K2 index

2008-12-01 Thread Gough Lauren
Hi all, I'm using spatstat to investigate the spatial structure of an arid shrub population. The first-order intensity of my data does not appear to be homogenous, so I would like to use inhomogeneous techniques. I realise there is a inhomogeneous K-function available in spatstat, but there does

[R] Spatstat - Birth Death Process Simulation

2008-11-03 Thread maud
Hello, I would like to use the spatstat package to generate realizations from a spatial birth death process. The death rate is dependent on the pairwise interaction function. 1 - I'd like to know how to define my own interaction potential function 2 - I'm not sure which model to use for a birth d

Re: [R] Spatstat help - quadratcount query

2008-10-23 Thread Gough Lauren
tober 2008 05:34 To: R-help Forum Cc: Gough Lauren; Rolf Turner Subject: Re: [R] Spatstat help - quadratcount query Gough, Lauren wrote: > >> I am using quadratcount in spatstat to divide a window containing a >> point pattern into a grid of quadrats containing the intensity of >&

Re: [R] Spatstat help - quadratcount query

2008-10-22 Thread Adrian Baddeley
Gough, Lauren wrote: 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. However, when I look at the data for quadrat counts it seems the function is not keeping the size of the quad

[R] Spatstat help - quadratcount query

2008-10-22 Thread Gough Lauren
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)),m

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

2008-10-09 Thread Adrian Baddeley
Arthur Weiss wrote: Hi everyone, I am using the package "spatstat" for ploting kernel maps of my data. It is a marked point pattern, the result of mosquito surveillance in a area in a week. For each trap, the number of individuals captured is the mark of the point. plot(density(X, weights=

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

2008-10-09 Thread Rolf Turner
On 10/10/2008, at 4:48 AM, Arthur Weiss wrote: Hi everyone, I am using the package "spatstat" for ploting kernel maps of my data. It is a marked point pattern, the result of mosquito surveillance in a area in a week. For each trap, the number of individuals captured is the mark of the point.

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

2008-10-09 Thread Arthur Weiss
Hi everyone, I am using the package "spatstat" for ploting kernel maps of my data. It is a marked point pattern, the result of mosquito surveillance in a area in a week. For each trap, the number of individuals captured is the mark of the point. > plot(density(X, weights=X$marks)) makes a nice k

[R] spatstat - tabulate point pattern

2008-09-19 Thread Paulo Cardoso
Hi, Is it possible to tabulate (count) points generated by spatstat ppp() using any regular Grid created with owin()? The idea is to count No of points in each grid cell. Any other method available? Paulo __ R-help@r-project.org mailing list https://st

[R] spatstat questions

2007-12-09 Thread Milton Cezar Ribeiro
Hi all, Is there a mailing list for spatstat R package? Another question: Can I find some ebooks on Spatial Pattern Analysis to be downloaded? Finally, how can I use a shapefile as "mask" on spatstat? I read the polygon using maptools::read.shape function and now I would like to use this shape