Displaying 11 results from an estimated 11 matches similar to: "Spatstat help - quadratcount query"
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
2009 Dec 08
1
Quadratcount problem in spatstat
Hi,
I know there are older threads discussing the quadratcount function in
spatstat. Unfortunately, I could not find a solution to my problem there.
I'm analyzing a point pattern in an irregular polygonal window. Both the
window (an entire country) and the points are projected using WGS84.
When I do quadratcount with only one quadrat for the entire country it
holds all my 154 points:
2010 Nov 04
0
Suppressing (or changing) the colours when using spatstat plot.quadratcounts
Hi,
Using the quadrats and quadratcount functions in spatstat, when I go to
plot either of these, I get the quadrats coloured by their identity,
i.e., using a color ramp applied to the sequence of quadrats. This only
happens when the quadrats are applied to an owin which is polygonal,
i.e., when I have an irregularly shaped study area.
There doesn't seem to be any obvious way to
2017 Nov 28
0
Extract all point in a quadrats by spatstat package
Hi,
With the following code i can divides window into quadrats and counts the numbers of points in each quadrat.
library(spatstat)
X <- runifpoint(50)
quadratcount(X)
quadratcount(X, 4, 5)
quadratcount(X, xbreaks=c(0, 0.3, 1), ybreaks=c(0, 0.4, 0.8, 1))
qX <-? quadratcount(X, 4, 5)
plot(X)
plot(qX, add=TRUE)
But I want to mark each? quadrats? and select/ extract only those points by
2012 May 31
3
Quadrat counting with spatstat
I have photographs of plots that look like so:
http://r.789695.n4.nabble.com/file/n4631960/Untitled.jpg
I need to divide it up so each circle has an equal area surrounding it. So
into 20 equal segments, each of which contains a circle. Quadratcount is not
sufficient because if I divide it up into 36 equal quadrats, some quadrats
do not contain one of the circles.
I'm not even sure how to
2010 Oct 15
0
tessellation from biological data in spatstat
Hi,
I'm new to this mailing list so apologies if this is too basic. I have
confocal images 512x512 from which I have extracted x,y positions of the
coordiates of labelled cells exported from ImageJ as a.csv file. I also
have images that define an underlying pattern in the tissue defined as
areas of different pixel values 0 or 255 (also 512x512) I've exported
these images as .txt
2010 Oct 16
0
Spatstat Tessellation error
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 conveniently plot the image and the points on the
image as follows:
2010 Oct 20
0
Spatstat: tessellation problems.
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 conveniently plot the image and the points on the
image as follows:
2013 Jan 29
1
points rejected as lying outside the specified window
Hello,
I am using the following code to create ppp files from csv data and map shape files, but I am getting some errors which I have been unable to fix by searching them online:
library(spatstat)
library(maps)
library(maptools)
NYC2<-readShapePoly("nybb.shp") # this is a map of the NYC boroughs without waterways and no census tract divisions (but it does include lines separating
2011 Nov 18
1
Delete Rows Dynamically Within a Loop
Ok guys, as requested, I will add more info so that you understand why a
simple vector operation is not possible. It's not easy to explain in few
words but let's see. I have a huge amount of points over a 2D space.
I divide my space in a grid with a given resolution,say, 100m. The main loop
that I am not sure if it's mandatory or not (any alternative is welcomed) is
to go through EACH
2009 Sep 01
1
Logistic Politomic Regression in R
Hi everyone,
I'm trying to do an Logistic Politomic Regression in R. Because I have my resposes variables and the aswer is 0 and 1 in 3 bacterial genes. Somebody know how to do this in R in a easy way?
Thank so much,
José Bustos
Facultad de Ciencias
Universidad Catolica Ssma.
Concepcion
Chile
--- El lun, 31/8/09, r-help-request@r-project.org <r-help-request@r-project..org>