Displaying 20 results from an estimated 900 matches similar to: "Quadratcount problem in spatstat"
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
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
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
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
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
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:
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
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 Jul 13
1
Help get this simple function to work...
I have a function (see below). This function has one object, ID. If I run
the loops by themselves using a character value (ie,"VFFF1-7") instead of
the function object, then the loops work fine. However, when I try to
insert the character value via the function call, it doesn't work. I don't
get an error, but the TotalCover.df dataframe does not update according to
the loop
2006 May 18
4
Nested design
Dear list members,
I'd like to perform a glm analysis with a hierarchically nested design. In
particular,
I have one fixed factor ("Land Use Classes") with three levels and a random
factor ("quadrat") nested within Land Use Classes with different levels per
classes (class artificial = 1 quadrat; class crops = 67 quadrats; and class
seminatural = 30 quadrats).
I have four
2009 Mar 28
1
Quadrat Variance analysis
Is there any package or operation in R designed to conduct or facilitate
Quadrat Variance analysis of spatial data? Any leads would be much
appreciated as I have found very little in my searches thus far.
Tyler
--
View this message in context: http://www.nabble.com/Quadrat-Variance-analysis-tp22752517p22752517.html
Sent from the R help mailing list archive at Nabble.com.
2005 Dec 05
2
lmer and glmmPQL
I have been looking into both of these approaches to conducting a GLMM,
and want to make sure I understand model specification in each. In
particular - after looking at Bates' Rnews article and searching through
the help archives, I am unclear on the specification of nested factors
in lmer. Do the following statements specify the same mode within each
approach?
m1 = glmmPQL(RICH ~ ZONE,
2009 Jul 13
2
Help me get this function to work...
I have a function (see below). This function has one object, ID. If I run the loops by itself using a character value (ie,"VFFF1-7"), then the loops work fine. However, when I try to insert the character value via the function call, it doesn't work. I don't get an error, but the TotalCover.df dataframe does not update according to the loop criteria. Any obvious problems that
2006 Jun 04
1
How to use lmer function and multicomp package?
Dear list members,
First of all thank you for your helpful advices.
After your answeres to my firt mail I studied a lot (R-News n?5) and I
tried to perform my analysis:
First, to fit a GLM with a nested design I decided to use the function
"lmer" in package "lme4"
as suggested by Spencer Graves and Filippo Piro.
I remember to you that my data were:
land use classes, 3 levels
2009 Apr 01
2
repeated measures ANOVA - among group differences
I have data on the proportion of clutches experiencing different fates
(e.g., 4 different sources of mortality) for 5 months . I need to test 1)
if the overall proportion of these different fates is different over the
entire study and 2) to see if there are monthly differences within (and
among) fate types. Thus, I am pretty sure this is an RM analysis -( I
measure the same quadrats each month).
2006 Jun 02
1
geoR, plot of variog4 lines incomplete
I'm using R for Mac OSX version 1.14 (2129) and the geoR package
version 1.6-5 (the current version in the R repository). I'm running
R in OS 10.4.6 on a Mac G4 iBook (933MHz, 640 MB DDR SDRAM). I
searched the R archive and did not find a posting on this issue.
I want to use the variog and variog4 functions of geoR to
characterize the pattern of spatial autocorrelation of tree
2006 Sep 12
1
Transformation of a data frame
Dear R-helpers,
Apologies in advance for this (probably) simple question. I've searched the
R Archive and can't seem to find a solution to my problem.
I have a data frame of vegetation quadrat data with the following format:
Q S C
1 A 5
1 B 10
1 C 50
1 D 10
2 A 20
2 E 10
2 C 40
3 D 5
3 F 1
3 G 5
3 B 75
Where Q is the sample (vegetation quadrats), S is the species and C is the
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