search for: econonic

Displaying 11 results from an estimated 11 matches for "econonic".

Did you mean: economic
2004 Jan 20
2
rstandard.glm() in base/R/lm.influence.R
...subject to sqrt() in sum(object$weights * object$residuals^2)/df.r in summary.glm(). Should: res / (summary(model)$dispersion * sqrt(1 - infl$hat)) be: res / (sqrt(summary(model)$dispersion * (1 - infl$hat))) on line 117 in base/R/lm.influence.R? Best wishes, Roger -- Roger Bivand Econonic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Breiviksveien 40, N-5045 Bergen, Norway, voice: +47-55959355, fax: +47-55959393; Roger.Bivand@nhh.no
2004 Feb 19
1
How to create a "nb" object?
Hi group, I'd like to do spatial analysis of my data using the spdep package. It appears that a file of class nb is necessary, but I do not find what that should look like and if there is a function that creates such file for me. How can I create a nb-object of my data points? Thanks, René Eschen. [[alternative HTML version deleted]]
2004 Jan 27
8
distance between two matrices
Hi all, Say I have a matrix A with dimension m x 2 and matrix B with dimension n x 2. I would like to find the row in A that is closest to the each row in B. Here's an example (using a loop): set.seed(1) A <- matrix(runif(12), 6, 2) # 6 x 2 B <- matrix(runif(6), 3, 2) # 3 x 2 m <- vector("numeric", nrow(B)) for(j in 1:nrow(B)) { d <- (A[, 1] - B[j, 1])^2 + (A[,
2004 Feb 14
1
Digital Image Processing
I have seen several posts (but few answers) in "R-help search" as to whether there are any packages that use R to process digital images. There are several categories related to the general type of problem that are useful to know about: -- Any existing packages for taking a digital image format {any flavor like TIFF, jpg, png, or GIF (or even TWAIN input)} and representing it internally
2004 Feb 16
2
Data for use in maps()
Dear all, I am interested in plotting maps visualizing spatial statistics in an aggregated fashion, according to administrative boundaries. More specifically, I have fitted a cross-section model on data regarding Italian "counties" (province, for Italian readers) and I would like to visualize residual behavior on a map, in order to have a first assessment of their spatial
2004 Jan 26
5
conditional assignment
Hi all I want to conditionally operate on certain elements of a matrix, let me explain it with a simple vector example > z<- c(1, 2, 3) > zz <- c(0,0,0) > null <- (z > 2) & ( zz <- z) > zz [1] 1 2 3 why zz is not (0, 0, 3) ????? the null <- assignment is to keep the console silent in the other hand, it curious that null has reasonable values > null [1]
2004 Feb 17
4
importing ascii grids (for gstat)
Hello, Is there anyone who could give me an example of how to import an ascii grid (i.e. ArcGIS exported raster) into R. I want to use it with gstat but don't know the appropriate import routine. Thanks very much for your help. Regards, femke Femke Reitsma Graduate Student (ABD) Geography Department 2181 LeFrak Hall University of Maryland College Park, MD 20742 Phone: 301-405-4121
2004 Feb 03
4
filled maps
Hi R-Help, I would like to make filled contour maps of ocean data overlaid by costlines from the map package. I can draw the filled contours and the coastlines om the same plot, but the filled contour also covers part of the land. To get rid of that I tried to draw a filled coastline map on top of the filled contour, but the filled map only draws the closed contours - so most of the land is
2004 Jan 29
10
Doubt about pattern
Hi All, I have a very simple problem. I have several files in a same directory. I would like to send for an object only the files that finish in ".sens.". I execute the command below, files <- dir(pattern="*.sens") but it includes all of the files that have "sens", independent of they be in the end or in the middle of the name of the file. How could I solve
2010 Feb 26
3
Preserving lists in a function
Dear R users, A co-worker and I are writing a function to facilitate graph plotting in R. The function makes use of a lot of lists in its defaults. However, we discovered that R does not necessarily preserve the defaults if we were to input them in the form of list() when initializing the function. For example, if you feed the function codes below into R: myfunction=function( list1=list
2010 May 10
1
Supercripting text
Dear R users, I recently developed a plotting function in R and introduced it to my coworkers. The function is designed to make plotting easier and more efficient, which will in turn be more cost-effective for the company. The reviews for the function have been positive thus far, except for one issue -- addition of superscripts to the title. We need superscipts in the titles sometimes to