I have no trouble importing a subset of a road network for my study area as
a shapefile into R, but when I try to import the complete network (area
equivalent to approximately 30,000 km^2), I get the following error message
(even when I split up the two class formats into two separate commands):
>
I'm trying to fit an adaptive GWR model using the spgwr package but ran into
some problems.
Specifically, what I'm trying to do is to plug the optimal percentage generated
by the gwr.sel function into the gwr function.
This is my model's layout:
coords<-cbind(data$X_COORD, data$Y_COORD)
percent
Hello,
Im searching for a function, package, or something to calculate the surface
area (i.e. the actual area of a surface plotted) and its projected planar
area, so that finally I can to relate this result and obtain a surface/area
ratio.
Can you help me? Ill be grateful
Agustin
The answer I have found is both clear and straightforward:
require(maptools)
IloveR<-as(as(readShapeLines(fn="mylinedata.shp"), "SpatialLines"), "psp")
I was hoping someone might be able to point me in the direction of something
like this but I was fortunate enough to stumble across it in one of
Hi Tyler,
I use the following (copy and paste into google search bar)
site:https://stat.ethz.ch/pipermail/r-sig-geo/
This way google is restricted to that site only. You can actually use
site: for any website.
HTH
Wesley
>>> Paul Hiemstra 03/27/09 12:29 PM >>>
Tyler Dean Rudolph schreef:
Tyler Dean Rudolph schreef:
Am I missing something or is all the spatial-related R knowledge that is to
be found in the R-sig-Geo forum not accessible by way of a simple search
engine? If not I would hope this to be forthcoming At present I am
going through the archives one month at a time
Hello,
I didn't see the following message error because the sink() function was
running in my function :
> var2<-as(var,"psp")
Erreur dans owin(xr, yr, poly = list(x = xr[c(1, 2, 2, 1)], y = yr[c(1, 1, :
yrange should be a vector of length 2 giving (ymin, ymax)
the traceback of this function