similar to: Creating a pixel image

Displaying 20 results from an estimated 10000 matches similar to: "Creating a pixel image"

2006 Apr 18
2
Unfound objects in function
A couple of my functions that were working last week seem to have been changed over the weekend and no longer work, but I can't understand why not: it seems that objects defined at the start of the function are not located further on in the function, when this worked fine before. An example follows at the end, using the package spatstat, though the problem seems more general. My only guess is
2009 Dec 04
2
Dividing a pixel image into factors - (cut.im(), cut.default())
Hi, I have a numeric pixel image which I would like to divide into factors for analysis in Spatstat. I have found that I can use cut.im() function to divide the range of pixel values into a series of equal length intervals (e.g. if my pixels values range from 0 to 60, cut.im(X.im,breaks=2) will produce two factors one containing pixel values 0-30 and one containing pixel values of 30 - 60, or
2017 Jun 01
0
[spatstat] Convert shapefile to pixel image
On 02/06/17 01:17, Lluis.Hurtado at 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: > > x <-
2017 Jun 01
3
[spatstat] Convert shapefile to pixel image
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("200001441.shp") y <- as(x, "SpatialPolygons") z <- as.owin(y) Given z, I want to identify each
2001 Dec 05
2
paste doesn't appear to paste?
Sorry to be posting another question, but my learning curve is starting to flatten some now. What am I missing here? > temp _ name[reis==toupper(location[order(Vgrablow2)][N])] > temp [1] "Lawton" > paste(temp,g) [1] "Lawton" # WHERE IS THE SECOND ELEMENT? > g [1] 0.29 > a _ "Lawton" > paste(a,g) [1] "Lawton 0.29"
2017 Jun 01
0
[spatstat] Convert shapefile to pixel image
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("200001441.shp") y <- as(x, "SpatialPolygons") z <- as.owin(y) Given z, I want to identify each
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
2012 Apr 16
2
Creating a point pattern with spatstat
I have presence/absence data in the following format: 1 2 3 4 5 6 7 8 9 10 11 12 1 1 1 1 1 1 1 1 1 1 1 1 0 2 1 1 1 1 0 1 1 1 1 1 1 0 3 1 1 1 1 1 1 1 1 1 1 0 1 4 1 1 1 1 1 0 1 1 1 1 0 1 5 1 1 1 1 1 1 1 0 0 1 1 1 6 1 1 1 0 0 1 0 0 1 1 1 1 7 1 1 1 1 0 1 1 0 0 0 1 1 8 1 1 1 1 1 1 1 0 0 0 1 0 9 1 1 1 1 0 0 1 0 0 0 1 1 10 1 1 1 1 1 1 1 0 0 0 0 1 11 1 1 1 1 1 1 1 1 1 0 0 1 12 1 1 1 1 1 0 0 0 1 1 1 1
2009 Oct 19
1
Spatstat: xy binary data into mask type to use in owin(mask=)
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 polygons inside the previous ones, as ?holes? not to be considered as part of the area. I have
2014 Jul 30
2
listof
Dear R developers A question about the class 'listof', defined in package 'stats'. Other than its definition and use in the code for 'anova', we can't see that the class 'listof' is used for anything else (in recommended packages, or elsewhere). In the spatstat package we have been using a 'listof' to represent a list of spatial objects of the same
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
2006 Apr 27
1
Symbol __f95_sign not found.
Our computing services people have recently reconfigured the Sun compilers structure on our network, and I can no longer install, on our Sun/Solaris machine, a certain package (spatstat) with which I am heavily involved. (The same problem may well pertain to other packages as well; I haven't yet experimented except with spatstat.) Strictly speaking I can ***install*** it, but when I try to
2005 Mar 05
1
spatstat on Win98 (PR#7715)
Full_Name: Georg Roth Version: R.2.0.1.for Windows OS: Win98 Submission from: (NULL) (134.95.43.165) Using libraries "spatstat" and "sm" on R.2.0.1. under Windows 98 bug 1) the libraries "spatstat" and "sm" are not properly identified by the "library()" command on R.2.0.1. (R for Windows98). the libraryname is shown in upper case
2009 May 10
1
Spatstat
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! Richard * Installing *source* package ?deldir? ... ** libs gfortran
2003 Dec 01
1
Re: using shapefile as owin
My sincerest apologies, as this is a very elementary problem, but I have searched through archives and FAQs and on the web, and I am at the end of my own resources. I need to do analysis of a spatial point process occuring with four counties, using spatstat. I've had no trouble importing the shapefiles, but I can't seem to figure out what I need to do in order to use the boundary as an
2009 Mar 01
1
projecting GIS coordinates for analysis with spatstat package
I am working on creating an R package for doing fire department analysis and am trying to create a function that can display emergency incident densities. The following code sort of does the trick, but I need a display that shows the number of incidents per square mile. I believe the code below shows incidents per square unit (in this case, degrees lat/long). To solve this problem, I believe
2011 Mar 19
1
Undefined symbol "Rf_pythag" while loading spatstat
Today I installed the newest R develepment branch R version 2.14.0 Under development (unstable) (2011-03-18 r54866) on FreeBSD 9.0-CURRENT (amd64). All seems fine so far. After that I updated my R packages with option 'checkBuilt=TRUE'. There are four packages (spatstat, pscl, adehabitatLT, adehabitatHR) which gives an error like this: Error in dyn.load(file, DLLpath = DLLpath, ...) :
2010 Jan 18
1
how to install spatstat
Hi, I tried to install spatstat using: install.packages("spatstat", dependencies = TRUE, lib = "./R/i486-pc-linux-gnu-library/2.8") but got the following msg: --- Please select a CRAN mirror for use in this session --- <here i selected one mirror, and tried several mirrors) Loading Tcl/Tk interface ... done Warning message: In install.packages("spatstat",
2009 Apr 06
1
package: maps and spatstat question
I would like to use the output from the map function in the package maps for use in, say, the spatstat package. I don't quite understand the coordinates for the border of the state: Example: library(maps) iowa<-map("region","iowa) x<-iowa$x y<-iowa$y There are NA's and duplicated coordinates. What would I need to do to use this in the spatstat owin command?
2012 May 09
1
Paquete Spatstat
Hola a toda la comunidad R, el siguiente problema tengo para hacer funcionar el paquete Spatstat. Tengo instalado R version 2.15.0, y Ubuntu 12.04 los cuales ya lo actualice. El paquete (spatstat) esta instalado pero puntualmente es problema es asi: / > library("spatstat") Loading required package: mgcv Error : .onLoad failed in loadNamespace() for ''Matrix'',