Here we go, I'm assuming each ring is its own simple object, and a few
other things.
id = rep(seq(1,3),each=12)
az = rep(seq(0,359,30),3)
## assume you meant to use all ids here?
d = data.frame(id,az)
d$dist = round(rnorm(36,10,3),1)
xp = function(azimuth, r){cos(((90-azimuth)*pi)/180)*r}
yp =
when i run
res - gw.adapt(cbind(columbus$x, columbus$y), cbind(columbus$x,
columbus$y), quant=0.5)
there is error message
Error: could not find function gw.adapt
why did it happen?
Best Regards,
Lilis Nurul Husna
Institute of Statistics
Jakarta
[[alternative HTML version
Michael, Â the code for converting a data frame containing UTM
coordinates identified by group, into SpatialPolygon objects, works
spectacularly well. Many thanks --Seth
- Original Message -
From:Michael Sumner
To:
Cc:
Sent:Mon, 16 Jul 2012 16:30:46 +1000
Subject:Re: [R-sig-Geo]
On Mon, Jul 16, 2012 at 10:36 AM, Lilis Husna lily_frankn...@yahoo.com wrote:
when i run
res - gw.adapt(cbind(columbus$x, columbus$y), cbind(columbus$x,
columbus$y), quant=0.5)
there is error message
Error: could not find function gw.adapt
why did it happen?
Who told you about
Greetings,
I installed R, Rcpp, RInside successfully on my computer (Linux -
openSUSE 11.3, 64 bit).
Now when I try to install `RgoogleMaps` package, I get this error:
_
linux-y3pi:# R CMD INSTALL RgoogleMaps_1.2.0.tar.gz
* installing to library
Okay, sorry for bothering - I couldn't have guessed that 'png' is a
tar file that needs to installed separately.
http://cran.r-project.org/web/packages/png/index.html
On 16 July 2012 16:47, Anisha Kaul born.rebel...@gmail.com wrote:
Greetings,
I installed R, Rcpp, RInside successfully on my
Greetings,
System: openSUSE 11.3 64 bit
Here's the content of my file - mow.R
MyMap - GetMap(markers =
'40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc',
destfile = MyTile1.png);
as
:sigh:
Didn't know that the program shown here is not complete.
http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=RgoogleMaps:RgoogleMaps-package
The following needs to be added in the file.
library(RgoogleMaps)
png(filename=RgoogleMaps-package_%03d_med.png, width=480, height=480)
On 16 July
The mow.R now contains:
__
library (RgoogleMaps)
png (filename=RgoogleMaps-package_%03d_med.png, width=480, height=480)
MyMap - GetMap(markers =
'40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc',
sensor = false, destfile
On Mon, 16 Jul 2012, Barry Rowlingson wrote:
On Mon, Jul 16, 2012 at 10:36 AM, Lilis Husna lily_frankn...@yahoo.com wrote:
when i run
res - gw.adapt(cbind(columbus$x, columbus$y), cbind(columbus$x,
columbus$y), quant=0.5)
there is error message
Error: could not find function gw.adapt
Hello,
I have recently installed the 'RemoteSensing' package but I could not
find any help file with package describing about the functions.
I have R 2.13.2 version, so it could be installed by first downloading
the package from the repository and installing from downloaded file (.zip).
Is
Dear List members:
I have plotted a SpatialPointsDataFrame (originated from GWR estimation)
using spplot function. I need to add
county boundaries(a SpatialPolygonsDataFrame ) of the points where
they belong to. I can plot these two spatial data frame separately but how
can I show the spplot of
Hi Roosbeh,
one way to that is:
## a=SpatialPointsDataFrame
## b= SpatialPolygonsDataFrame
pts - list(sp.points,a[,column_to_map])
spplot(b[,column_to_map],sp.layout=list(pts))
in the first line you can add parameters cex, pch, col,... In the second
line you can add parameters such as
Hi. I am trying to back transform the predicted values from universal
kriging. Is there an example of how to do this? Below is the code I
use to get the kriging predictions.
vgm.aniso7=variogram(LN_tLAB~X_UTM + Y_UTM, OCSDCalib.spdf,
alpha=c(0,90,180,270), cutoff=3000,cressie=TRUE)
This is solved - credit to Marcelo from stackoverflow.
Attached the '' to the front of the markers list as follows:
MyMap -
GetMap(markers='40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc',
destfile=MyTile1.png);
This resulted in the url:
Greetings,
R version 2.15.1
RgoogleMaps version 1.2.0
openSUSE 11.3, 64 bit
The source code file 'mow.R' now contains:
___
library(RgoogleMaps);
png(filename=RgoogleMaps-package_%03d_med.png, width=480, height=480);
MyMap -
Thanks to Joe Conway and Greg Booma on the plr mailing list. They saw the
problem as a permissions issue.
The solution was to create a new GRASS mapset under the postgres user, due to
the way mapset permissions work in GRASS. I then changed initGRASS to the
mapset=postgres as per below. And
17 matches
Mail list logo