Displaying 9 results from an estimated 9 matches for "ripras".
2006 Jan 25
1
How to use rfm.test ? (Package MarkedPointProcess)
...y narrower lower and upper bounds for the variables. -9.802347e-17 1364.372 [ 0 0.01808660 , 9.990131 1364.372 ]
******************************
The program :
-----
# Packages #
library(spatstat)
library(RandomFields)
library(adapt)
library(MarkedPointProcess)
# Program #
data(BITOEK)
win <- ripras(steigerwald$coord)
PointProcess <- ppp(x=steigerwald$coord[,1],y=steigerwald$coord[,2],window=win,marks=steigerwald$diam)
plot(PointProcess)
rfm.test(coord=steigerwald$coord,steigerwald$diam,MCrepetitions=19)
-----
regards.
Florent Bonneu
Laboratoire de Statistique et Probabilit??s
bureau 1...
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 Dec 03
1
Function to find boundary of an irregular sample?
Given a set of coordinates that form an irregular sampling area, is
there an R function to determine boundary points (coordinates defining
the limits of the area), either with or without user interaction ?
# for example, given the following irregular sampling area, how could
I define the boundary polygon?
library(SemiPar)
data(scallop)
plot(scallop$longitude, scallop$latitude)
Thanks. --Dale
2009 Aug 18
1
How to Dedup a Spatial Points Data Set
I'm new to spatial analysis and am exploring numerous packages, mostly
enjoying sp, gstat, and spBayes.
Is there a function that allows the user to dedup a data set with multiple
values at the same coordinates and replace those duplicated values with the
mean at those coordinates? I've written some cumbersome code that works,
but would prefer an efficient R function if it exists.
2013 Apr 11
2
Encircle the closest points
Dear R-user,
For the "matplot" of the following data drawn by
>matplot(t, pch=1)
structure(c(2372L, 2494L, 2170L, 2238L, 1918L, 715L, 1573L, 2437L, 2481L, 1881L, 440L, 2165L, 343L, 121L, 597L, 1163L, 1459L, 2093L, 1454L, 1761L, 1872L, 174L, 2040L, 552L, 1403L, 6381L, 1649L, 4136L, 4415L, 10650L, 12111L, 4397L, 9593L, 7040L, 3888L, 8340L, 11475L, 11413L, 3985L, 1077L, 7723L, 1392L,
2012 Mar 16
1
Spatstat - coordinates in observation window
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 follows:
X1<- ppp(x, y, window=owin(c(80.58,144.96),c(101.06,165.13)),
2012 May 03
1
Creating a point pattern with cartesian co-ordinates
I have the following data from an image analysis program, in which the x and
y co-ordinates are locations of the centroids of shapes on a 2 dimensional
plot. The Y co-ordinates were positive, but I changed them to negative as
the resulting scatterplot was upside down (the image analysis program reads
from the top of the image to the bottom, so it seems) I now need these as
point pattern data, as I
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
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