similar to: Installing spdep

Displaying 20 results from an estimated 3000 matches similar to: "Installing spdep"

2003 Dec 15
2
Error with spdep
Dear useRs: First of all I would like to thank all the responses. I've an error with package "spdep". I am working with a Windows XP machine (AMD-2000-XP RAM-256DDR) and 1.8.0. R-version and when I try to load spdep appear the following error: > library(spdep) Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) : There is no package called
2003 Apr 15
5
Summarizing levels for future commands
Hi. This will hopefully be readily understood but if not, bear with me. I have to do a repeated analysis (in spatstat) and want to batch file it. For each of my 'runs' certain variables change. At present I am manually specifying these changes and want to automate it if possible. Ok, I am creating an object which is comprised of 'levels' that are 'characters'. Further
2004 Feb 26
2
limit to complex plots?
Hello all. I am trying to create one figure, divided into 6 graphs/plots each with an inset sub-figure. I can use to layout command to generate one figure with one inset sub-figure, but cannot seem to do it for multiple figures on one page. I've tried a test with the following code: layout(matrix(c(1,2,3,4), nrow=2, byrow=TRUE)) plot(rnorm(10), rnorm(10)) plot(rnorm(10), rnorm(10))
2003 Nov 07
5
Barplots
Hello, Can anyone tell me how to label individual bars on a barplot? I want to put an "*" or letter ABOVE the bar to denote statistical significance. Is this possible and how? Thanks, Suzanne __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial
2006 Nov 30
2
*** caught segfault *** error
Dear R users, I use R 2.4.0 on an iMac running Mac OS X 10.4.8, with a 2.16GHz Intel Core 2 Duo and 2GB 667 MHz DDR2 SDRAM. > sessionInfo() R version 2.4.0 (2006-10-03) i386-apple-darwin8.8.1 locale: es_ES.UTF-8/es_ES.UTF-8/es_ES.UTF-8/C/es_ES.UTF-8/es_ES.UTF-8 attached base packages: [1] "methods" "stats" "graphics" "grDevices"
2003 Apr 07
1
Segmentation error
Hello, I'm using library(spatstat) and trying to use ppp on my dataset. I get a segmentation error when I try to run it. Any suggestions? Code below ... Thanks, Suzanne --------------------------------------- dat <- read.delim(file="trees_R2.csv", sep=",", header=1) P16 <- (dat$Plot == "P1") | (dat$Plot == "P2") | (dat$Plot == "P3")
2003 Jun 30
2
Deciphering an error message
Hello, I'm working in spatstat and having difficulty with the ppp objects. I can get a ppp object for one set of data, but with the same code applied to a second data set (all I am changing is the field identifier), I get the following error message: Error in switch(w$type, rectangle={: internal error: some total scores are neither 0 nor 1 Any thoughts on what this means and how to correct
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
I have been running into difficulties with dispatching on an S4 class defined in the SparseM package, when the method calls are inside a function passed as the f= argument to optimize() in functions in the spdep package. The S4 methods are typically defined as: setMethod("det","matrix.csr", function(x, ...) det(chol(x))^2) that is within setMethod() rather than by name before
2003 Jun 09
1
Nested anovas
Hello, Is anyone out there doing nested anovas? I'm familiar with the notation to designate the nesting in SAS but can't seem to find any for R. How can I specify the nesting levels? Thanks, Suzanne __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial
2004 Jan 30
1
Memory clear problem
Hello. I think this is a simple problem. I have R running a program which generates variables that it 'remembers'. The trouble is that I've modified the file that it's generating these variables from but doesn't seem to realize that. When I type 'trees' - I get the same data set produced. I tried shutting R down and not saving the workspace, but when I open 'er
2003 Apr 30
1
mpl in spatstat
Hello all, I'm attempting to conduct spatial analysis of trees within a plot. I want to see if the trees are spatially correlated to soil characteristics, say pH, or moisture content. I think one way to do it is with mpl, however, my soil characteristics were not taken at exactly the same locations as my trees and further, the vectors aren't the same length. I'm getting the
2007 Oct 15
1
Distance matrix in SpDep-package
Hello everybody, I would like to use the SpDep-package (especially the Local Moran index analysis and the Getis-Ord statistics) in R for analysing my data. However, I don't have x-y coordinates, but my data is in a distance matrix format. Is it possible to use the SpDep package with predefined distances as well instead of letting the program determining the distance itself by the function
2009 Jun 06
1
large numbers of observations using ME() of spdep
Dear All, We aim to remove the spatial structure of our data using Moran Eigen Vectors and spdep package . Our data has 3694 samples and 13 variables. The computer stop working after almost 4 days of processing (we found it emitting a sharp sound and with all colors on the screen. No wories, it was restared without problem!). And we are left with nothing: no result file was produced since the
2005 Apr 13
1
install.packages and MacOS 10.3.8
Dear Listers, I am trying to install packages via install.packages() from MacOS 10.3.8. Installing work fine when run from the menu, but the following command (useful for setting up each computer of the student computer room) leads nowhere for some reasons: >
2006 Nov 07
2
wrong fill colors in polygon-map
Dear all, I would like to produce a map with information about the patenting activity in German districts, by coloring districts with different degrees of patenting activity in different colors. I work with the packages maptools, maps and spdep. The map data is read from an external .shp file (+ the corresponding .shx and .dbf files). Plotting a map with the IDs or the patenting indicator itself
2005 Jan 30
1
New user...tips for spdep?
Hello List, I'm a very new user to the R system. I'm only beginning to learn the basics, but so far I've been able to do little more than try a few examples, and of course begin reading the documentation. My primary motivation for exploring R is the availability of tools like the 'spdep' package for calculating spatial statistics such as Geary's C and Moran's
2008 Mar 31
1
GeoDa spdep
My question is in regard to the spdep and GeoDa packages. Do you know how to extract a neighborhood/adjacency matrix from R? I need a matrix that has all the neighborhoods on the X and Y axis, and then a r=1 when the neighborhoods touch, and a r=0 when neighborhoods don't touch. I think the Moran's I functions use a matrix like this when they estimate Moran's I. I can estimate
2003 Nov 27
1
lagsarlm - using mixed explanatory variables (spdep package)
Hello I'm very new to R (which is excellent), so apologies if this has already been raised. In the spdep package, I'm trying to undertake an autoregressive mixed model using the lagsarlm function. This is working fine, but there does not appear to be a method of including an explanatory variable without it automatically being included as a lagged term. I'm after something along the
2011 May 07
1
spdep::poly2nb problem
I downloaded a US states+territories shapefile from http://www.weather.gov/geodata/catalog/national/html/us-state.htm and unzipped it into my working directory. Then in R (version 12.2.0 for ms-win32): library(rgdal) # Version: 0.6-28 library(spdep) # Version: 0.5-24 (loads sp: Version: 0.9-72) # read in the data states<-readOGR(".","s_01de10") summary(states) # now
2006 Sep 19
1
R CMD check fails at package dependencies check on Fedora Core 5, works on other systems
I'm testing a FC5 machine for use in a student lab. R 2.3.1 is installed and seems to work fine. There is one peculiarity - the logins are authenticating to a server, and a "verbose" flag is set somewhere, leading to lots of spurious messages like this request done: ld 0xa227598 msgid 1 which may be confusing R. However, R CMD check seems to fail for packages with no