Displaying 20 results from an estimated 400 matches similar to: "Splancs Query"
2006 Apr 11
0
Incompatible update to splancs
>From version 2.01-17, splancs, a package for spatial point pattern
analysis, depends on package sp.
Because both packages have defined a bounding box function bbox(), the
bbox() method in sp has been given priority, and the default object for
dispatch is an array with two or more columns (as in splancs until now).
However, the deprecated splancs function returned a non-closed rectangle
of
2006 Apr 11
0
Incompatible update to splancs
>From version 2.01-17, splancs, a package for spatial point pattern
analysis, depends on package sp.
Because both packages have defined a bounding box function bbox(), the
bbox() method in sp has been given priority, and the default object for
dispatch is an array with two or more columns (as in splancs until now).
However, the deprecated splancs function returned a non-closed rectangle
of
2013 Feb 21
2
error with bbox for k12hat (splancs) bivarite k-function
Hello,
I am trying to conduct a bi-variate ripley's k using the k12hat function in
the splancs package (found here
http://rss.acs.unt.edu/Rdoc/library/splancs/html/k12hat.html). Although, I
receive an error when getting to the bboxx part of the code:
poly <- list(x=c(fire4$X, nar4$X), y=c(fire4$Y, nar4$Y))
plot(seq(5,80,5), sqrt(k12hat(fire4), as.points(nar4),
2005 Sep 16
1
Question:manipulating spatial data using combination of Maptools and Splancs
Hi,
I have a problem that concerns combination of the package Maptools and
Splancs
I have 2 shapefiles that i want to manipulate (one of type point and one
polygon).I import them in R using Maptools but then i can't estimate a
quartic Kernel using Splancs. The package doesn't recognize the shapes
(invalid points and poly argument).I don't know if this is an easy task but
i have
2007 Dec 17
1
polygon class in splancs package
Dear forum,
I would like to use the kernel2d or spkernel2d in the Splancs-package, but
it does not recognize my polygon data.
"Error in kernel2d(as.points(ptsbin), polygonprov, h0 = 2, nx = 100, : " is
the error message.
Invalid poly argument
The data are defined as follows:
polgonprov<-list(x=polyprov$X, y=polyprov$Y) with X and Y coordinates in the
Lambert1972
2008 Feb 17
1
random location in polygons sp spsample splancs csr
Dear all,
I had to place points at random, one in each of larger number of
polygons (actually in objects of class 'SpatialPolygonsDataFrame' , see
sp library), and tried first to do it using spsample (from sp).
Surprisingly, every 5-15 trials, the output was a NULL value. The doc
says that ' this may occur when trying to hit a small and awkwardly
shaped polygon in a large
2001 Jun 02
2
inout() in splancs working properly?
I have a problem with function 'inout()' in package 'splancs' on CRAN-R
Version 1.2.3 under FreeBSD4.3-STABLE.
The following script produces and draws points and a polygon-surrounded
area. Repeating the same script many times shows, that points on the
polygon-line often, but not always, are outside of the polygon-area.
library(splancs)
# dataset with polygon (convex
2000 Sep 19
2
porting splancs library to R
I am trying to port the splancs library for S++ version 4.0 to R. I have modified the original FORTRAN to use dllwrap/dlltool (e.g. removed common blocks). I have been able to generate dll's (splancs.dll) using dllwrap/dlltool and Ming32 g77 with a -mdll switch. As of yet I have not been able to generate a dll that can be loaded by R.
Does anyone out there have any suggestions. An example
2002 Jan 15
0
errors intalling splancs and sgeostat
I installed R-1.4.0 and then updated all the packages I have, using
update.packages(). I got an error for splancs and sgeostat. Trying to
install them 'manually' with R CMD INSTALL, I got the following
errors.
1) for splancs:
Tue<15:26>library[82]#R CMD INSTALL splancs_2.01-5.tar.gz
Installing *source* package `splancs' ...
libs
f95 -PIC -xO5 -dalign -xlic_lib=sunperf -c
2006 Oct 25
1
any good way to convert sp class objects to splancs object
Greetings:
are there any simple ways to convert an sp class object to a splancs ppp class
object, outside of reading the coordinates and computing a bounding box?
cheers,
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
2007 Aug 13
0
Reading polygon shapefiles in splancs
Dear List,
I'm trying to import a multiple polygon shapefile in splancs. I've found the following command but it seems to work only for single polygons:
Name_of_splancs_polygon<-getPolygonCoordsSlot (getPolygonsPolygonsSlot(getSpPpolygonsSlot(name_of_sp_polygon) [[1]]) [[1]])
I've tried to change the numbers but it seams to choose polygons instead of importing them
2007 Nov 30
0
How to Compute envelope of Khat in Splancs Package
Howdy Gurus
I am try to compute envelope of Khat from simulations of complete spatial
randomness using R package of "Splancs."
I got the following error:
> UL.khat <- Kenv.csr(length(X_coord), bnd, nsim=100, s)
Doing simulation 1
Error in runif(n, min, max) : invalid arguments
In addition: Warning message:
NAs introduced by coercion
I think that I have a problem with
2009 Aug 18
0
kernel density estimation for univariate data using splancs
Hi,
I previously received help in extract data from a shapefile and now my question is about kernel density estimation. My objective is to have 3 kernel density plots; 2 for the each set of cases and the 3rd is the difference in kernel densities between the 2 sets of cases. Previously, I used the density function from the stats package, which worked but I wanted finer control of the bandwidth.
2009 Mar 30
1
Warning messages in Splancs package :: no non-missing arguments to min; returning Inf
Hi,
I would need some help with the splans package in R.
I am using a Shapefile (downloadable at)
http://rapidshare.com/files/215206891/Redlands_Crime.zip
and the following execution code
setwd("C:\\Documents and
Settings\\Dejan\\Desktop\\GIS\\assignment6\\DataSet_Redlands_Crime\\Redlands_Crime")
library(foreign)
library(splancs)
auto_xy<-read.dbf("Auto_theft_98.dbf")
2003 Dec 07
2
par(las = 1) not possible in polymap(), library(splancs)?
Dear all,
I want my PhD thesis which I hand in tomorrow to look even nicer:
Does polymap in the splancs library not allow horizontal plotting of
y-labels? I have tried
polymap(studyarea, xlab = "x (m)", ylab = "y (m)", las = 1)
but it doesn't change the labels?
Mayby some function in library(spatstat) support las?
Thanks!
Sincerely,
Tord
2001 Jun 15
1
R CMD check (PR#982)
In revising the splancs package, I use R CMD check. After a number of
changes to various files in the directory tree, R CMD check fails at the
* checking for undocumented objects ... ERROR
stage as shown below. But running undoc() in R (pointed at the Rcheck
directory, not on the older version) doesn't show the same error, and grep
on the Rcheck R code finds the function. I ran undoc() under
2002 Sep 06
1
Installing splancs_2.01-9 on Red Hat Linux 7.3
Hi all,
I'm trying to install the splancs contributed package on a Redhat 7.3
system with R 1.5.1 installed. I've installed the readline41-4.1-10 RPM
which Redhat requires for R and it works great, thanks very much.
However, when I attempt to R CMD INSTALL splancs_2.01-9.tar.gz as root,
I get the following error message during the install:
[snip]
g77 -fPIC -O2 -m486
2006 Oct 03
1
loaded or not?
Dear all,
Sorry for such basic question, but. when R "says":
library(Rcitrus)
Loading required package: geoR
Loading required package: sp
-------------------------------------------------------------
Analysis of geostatistical data
For an Introduction to geoR go to http://www.est.ufpr.br/geoR
geoR version 1.6-8 (built on 2006/06/29) is now loaded
2005 Jun 14
1
New Family object for GLM models...
Dear R-Users,
I wish to create a new family object based on the Binomial family. The only difference will be with the link function. Thus instead if using the 'logit(u)' link function, i plan to use '-log(i-u)'.
So far, i have tried to write the function following that of the Binomial and Negative Binomial families.
The major problem i have here is with the definition of the
2005 Apr 08
1
Wine and USB scanner access ?
Hi,
I'm using latest Wine (20050310) with Debian sid (kernel 2.6.11).
I own an USB 1.1 scanner : Agfa SnapScan 1212U.
I successfully installed ScanWise software provided by the vendor (2.0.0.9 version) but when I
launch it, it behaves as if the scanner's light wasn't on, or it was unplugged : it asks for me to
connect the scanner.
Below is the debugging info. I also tried to