rmation is there, it is just that ESRI products only look for it in
places they have thought of, not in the proper places. If necessary,
showWKT() can make a *.prj file. Otherwise just override ESRI.
Roger
>
> Thanks,
>
> Monica
>
>
> _____
Monica Pisica hotmail.com> writes:
>
>
> Hi,
>
> I have a matrix of data which i can vizualize as an image - for example.
> I would like to save this image as a
> geotiff file or at a tiff file with a world file which holds the projection
> of my data (ultimately the data
> represent a map of
differ.
> E.g.:
> tmp <- readShapeLines(filepath)
> plot(tmp,xlim=c(-126,-119),ylim=c(50,51))
>
> The y-axis range is actually 47-54, same range as the x-axis. What am I
> doing wrong? Should I be using a different object for simple coastline &
> river data?
> Tha
GRASS STATGRASS list. It is also good practice to say what platform you
are on (OS, R version, etc.) as reported by sessionInfo().
> Thank you very much by advance
> <http://probability.ca/cran/>
>
>
--
Roger Bivand
Economic Geography Section, Depar
read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 B
l.
So is it possible?
http://cran.r-project.org/contrib/extra/dcom/00ReadMe.html
and
RSiteSearch("Excel VBA")
Maybe something like that:
sub test()
'calculate something
start R superplot.R
end test()
Thank you so much.
Kindly regards,
Maja
--
Roger Bivand
E
e has a suggestion ??
>
> Thanks in advance
>
>
> Jess
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.or
self-contained, reproducible code.
> >
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commente
//stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics an
ts lined up isn't easy, according to people who have tried, but
can be done if you need to do it.
Hope this helps,
Roger
>
> Thanks in advance for any help,
> Mike
>
> _______
> R-sig-Geo mailing list
> [EMAIL PROTECTED]
>
nterpolated rather than
observed.
Follow-ups to R-sig-geo, please.
Roger
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +
c objects (SpatialLinesDataFrame object
> from the readLinesShape function). I would expect that they would have
> an auxvar or similar argument also. Or you can decide what color you
> want to use, plot the overall map, then add each county/zipcode
> individually using the specified
t/epam
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reprodu
blication, editing externally may be an option.
Roger
>
> Thanks a lot.
>
> Best,
>
> Shengde Liang
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do
On Sat, 5 May 2007, Alberto Vieira Ferreira Monteiro wrote:
> [for those that worry about these things, this _is_ a homework
> assignment. However, it's not an R homework, it's a Geography
> and History homework... and I want to use R to create a pretty
> map]
>
> Rog
P_AB, "polygons"), function(x) slot(x, "ID"))
So adding a suitable data frame gets you to the lattice graphics method
spplot(SP_AB, "my_var")
Hope this helps,
Roger
>
> Alberto Monteiro
>
> __
> R-help@stat.
se, creating opportunties for service
providers. Most of these data formats can be read by functions in maptools
or rgdal.
Roger
>
> Alberto Monteiro
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30,
mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Admi
On Tue, 17 Apr 2007, James W. MacDonald wrote:
> Roger Bivand wrote:
> Andris Jankevics osi.lv> writes:
>
>
>>Thank You for answer. I Tried code that You provided in reply to my question
>>on both PC's with Linux and Widows OS.
>>
>
> Yes, I have
ONKELINX, Thierry inbo.be> writes:
>
> Dear Fransico,
>
> The distance matrix would be 102000 x 102000. So it would contain 1040400
values. If you need one bit for
> each value, this would requier 9,7 GB. So the distance matrix won't fit in
the RAM of your computer.
Perhaps you could mak
On Tue, 17 Apr 2007, James W. MacDonald wrote:
> Roger Bivand wrote:
> Andris Jankevics osi.lv> writes:
>
>
>>Thank You for answer. I Tried code that You provided in reply to my question
>>on both PC's with Linux and Widows OS.
>>
>>On linux
Andris Jankevics osi.lv> writes:
>
> Thank You for answer. I Tried code that You provided in reply to my question
> on both PC's with Linux and Widows OS.
>
> On linux box output is:
>
...
>
> System information:
>
> > sessionInfo ()
> R version 2.4.0 (2006-10-03)
> i686-redhat-linux-gnu
> __
> [EMAIL PROTECTED] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
nfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School o
ean by "grid2d file that describes the lat and lon for each
> (X,Y) grid"?
> If this are two rasters of the same size having corresponding latitude and
> longitude values in each raster cell, then you could use contourLines to get
> lat-lon grid. However, you, probably, w
__
> >> R-help@stat.math.ethz.ch mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide
> >> http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible code.
&
cltk' não pôde ser carregado
>
> Can this package only be used under Windows??
No, it works on Linux workstations.
>
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norwa
lman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Adminis
ie inside or outside a polygon? If so, the overlay() methods in
the sp package may be suitable.
>
> regards
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voi
what is the matter
with the mirror, and get it corrected, that would be welcome.
>
> Duncan Murdoch
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http
gt;
>
>
>
>
> --
> Robin Hankin
> Uncertainty Analyst
> National Oceanography Centre, Southampton
> European Way, Southampton SO14 3ZH, UK
> tel 023-8059-7743
>
> __________
> R-help@stat.math.ethz.ch mailing list
> https:/
3,] 5 50
[4,] 4 40
[5,] 6 60
[6,] 1 10
>
> I'm most grateful for a tip!
>
> cheers,
> Tord
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien
lp files, REGEX's are used, so for "[", you
> > > would need:
> > >
> > > help.search ("\\[")
> > >
> > > since '[' is a special character in regular expressions and you need to
> > > escape it to search on t
p
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administr
t.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95
urn a 2-dimensional array
> dataset [, [2], [3], drop = F] # Return a 1-dimensional array, like dataset
> [, 2, 3]
>
> Thanks in advance for any help,
>
> Maciej.
>
> [[alternative HTML version deleted]]
>
> __
> R-help@stat.math.ethz.ch mailing lis
www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55
[[alternative HTML version deleted]]
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
&
account
> > >
> >
> > You must *I*solate the polynomial terms with function I ("AsIs") so that
> > they are not interpreted as formula operators:
> >
> > rda(Helling ~ x + y + I(x*y) + I(x^2) + I(y^2) + I(x*y^2) + I(y*x^2) +
> > I(x^3) + I(y^3
.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department o
. I can supply random numbers, want latitude
> longitude pairs out.
>
> Can anyone point me at a solution? Thanks very much.
>
http://www.csit.fsu.edu/~burkardt/f_src/random_data/random_data.html
looks promising, untried.
>
>
--
Roger Bivand
Economic Geography Section, D
he posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Berg
ng guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voi
ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Ec
___
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Biv
ing-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-g
info/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://sta
ce("filename")' | R [options], or cat filename | R
>
> Thank you all
> Amir.
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Unfortunately with my data I used I got around 8000 values from my set with
> version1 but about 24000 with version2. IS there some main diffrence I
> didn't take into account or is my system just behaving irrational (that's
> what I think if you look at Example2)?
>
>
listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administr
ocorrelation of "dbh" in different distances
> by "x" and "y".
>
>
>
> Thanks,
>
> Jian Zhang
>
>
> [[alternative HTML version deleted]]
>
> __
On Mon, 5 Feb 2007, Roger Bivand wrote:
> On Mon, 5 Feb 2007, Octavio Tourinho wrote:
>
> > Dear friends,
> > I am trying to install R-2.4.1 from source on Solaris 11 x-86_64.
> > running on Sun Ultra-20 workstation, and using the SunStudio 11 compilers.
> >
&
7;CC', 'cxx', and
## 'cc++' (in that order).
CXX="/opt/SUNWspro/bin/CC -xarch=amd64"
>
> Any help would be sincerely appreciated, as I have exausted my debugging
> resources. I believe that there is a problem with the configure script
> in dealin
t;
> any idea?
>
> Kind regards,
>
> Miltinho
>
> __
>
>
> [[alternative HTML version deleted]]
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Hell
rom using the summary() method
on the lm object (that is on the summary.lm object). Use str() to look at
the summary.lm object to see what you want.
>
> Or may be a customizable regression output already exists?
>
> Thanks really a lot!
>
> Carlo
>
> _______
> Potsdam University
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-co
h/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Admin
t;simple" data frame
>
> # bind data together:
> #Alternative 1:
> a$att.data = cbind(a$att.data, datfr[,61:109])
> # Other alternatives:
> test = matrix(ncol=49)
> a$att.data[,61:109] = test
> a$att.data[,61:109] = datfr[,61:109]
>
> # plot:
> plot(a, auxvar=a$at
> > 2
> >
> > I am trying to select rows from the data.frame which have Ddtd > x,
> > VaR < DdtdAbs and DdtdDuration > z.
> >
> > Thank you,
> > Benjamin
> >
>
> __
> R-help@stat.math.e
;
>
> $language
> [1] "R"
>
> $version.string
> [1] "R version 2.4.0 (2006-10-03)"
>
>
> --
> Robin Hankin
> Uncertainty Analyst
> National Oceanography Centre, Southampton
> European Way, Southampton SO14 3ZH, UK
> tel 023-8059-7743
&
l panel models (not yet in R) and in the hierarchical model
framework (again not yet in R, although the spBayes package may offer some
possibilities).
>
> Thanks,
>
> Rajesh.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Bu
linux-gnu
> status
> major 2
> minor 4.0
> year 2006
> month 10
> day03
> svn rev39566
> language R
> version.string R version 2.4.0 (2006-10-03)
>
--
Roger Bivand
Economic Geography Section, Department of Economic
h row of
the data frame output by expand.grid().
Roger
>
> Thanks.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: [E
do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> >
>
> ______
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman
read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> >
> >
> >
> O Yahoo! está de cara nova. Venha
. +972-52-3422204
> [EMAIL PROTECTED]
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, mi
g rows, and if # is more than a modest number, not print
the obs. numbers, just the total?
Roger
While my approach has not *yet* been published, the original source [4] by
Roger Bivand certainly has. Just a reminder.
That said, I would highly recommend reading up on the background literatur
___
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
-
)
>
> Possible actions:
> 1: abort (with core dump)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> Selection:
>
>
> The same commands work fine in my laptop (Intel Pentium 4 CPU 2.00
> GHz, with 512 MB RAM), where I u
If someone has written code for such kind of alignments or can direct me
> to detailed instructions on how to go about, I would be grateful. ft.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveie
On Fri, 24 Nov 2006, Lorenzo Isella wrote:
> On 24/11/06, Roger Bivand <[EMAIL PROTECTED]> wrote:
> > On Fri, 24 Nov 2006, Lorenzo Isella wrote:
> >
> > > Dear All,
> > > I would like to automate the analysis and plotting of data taken from a
> >
__
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
E
Ecosystems: http://www.cse.csiro.au/
>
> ___
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Roger Bivand
Economic Geography Secti
a parameter
> file with names, flags and this "seq" somethimes will be something like
> c("1","99,"3") or even c("")
>
> executing the content would be an easier step for me
>
> thanks!
>
>
--
Roger Bivand
Economic Geography Se
tal. Using I() seems to be a work-around:
my_DF <- data.frame(my_POSIXa=I(my_POSIX))
str(my_DF)
class(my_DF$my_POSIXa)
DF_Date <- as.Date(my_DF$my_POSIXa)
str(DF_Date)
DF_Date
In the original problem (conversion of a list read from PostgreSQL to
a data frame with as.data.frame()), havin
trum
> Konrad-Zuse-Str. 1
> 18057 Rostock
> Tel.: (0381) 2081-148
> Fax: (0381) 2081-448
> Mail: [EMAIL PROTECTED]
>
>
>
>
> -Original Message-
> From: Roger Bivand [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 7. November 2006 13:27
> To: Frosch,
Konrad-Zuse-Str. 1
> 18057 Rostock
> Tel.: (0381) 2081-148
> Fax: (0381) 2081-448
> Mail: [EMAIL PROTECTED]
>
>
>
>
>
>
> --
> This mail has been sent through the MPI for Demographic Rese...{{dropped}}
>
> ______
> R-help@stat.math.ethz.ch mailing
lman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
>
>
>
> ___
> Découvrez une nouvelle façon d'obtenir des réponse
;
> > [[alternative HTML version deleted]]
> >
> > __
> > R-help@stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-co
TML version deleted]]
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contai
spatial package is documented in full in Venables & Ripley (2002)
Modern Applied Statistics with S, Chapter 15, section 2, pp. 425-430 (in
the References section of the help page). However, on ?surf.gls, the See
Also section provides links to help pages describing expcov, gaucov, and
sphercov,
PROTECTED]
>
> [[alternative HTML version deleted]]
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
&
? Have you tried the
spspatstat wrapper package on the R-spatial sourceforge repository? The
as() coerce method should get you there.
If you really mean splancs, there are not wrappers yet, but are on their
way.
(Consider posting on R-sig-geo for specific questions like this).
Roger
>
> ch
On 21 Oct 2006, Peter Dalgaard wrote:
> Roger Bivand <[EMAIL PROTECTED]> writes:
>
> > On Sat, 21 Oct 2006, Jonathan Greenberg wrote:
> >
> > > That looks to me like an infinity sign (I have no idea why that is part of
> > > the header of this fi
he column names anyway, jump over the header and
insert them yourself. Alternatively filter the non-ASCII character out
before reading, it looks predictably like a degree sign. In any case, the
character is not very practical in a column name.
Roger
>
> --j
>
>
> On 10/21/0
7.446,
> 37,10/1/2005 1:30,47.982,
> 38,10/1/2005 2:00,48.517,
> 39,10/1/2005 2:30,49.228,
>
> Why am I getting this error? Are those quotation marks causing the hiccup?
> If so, how do I get around this programmatically?
>
> --j
>
>
--
Roger Bivand
E
at.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Eco
> Berta.
>
> [[alternative HTML version deleted]]
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
ng-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95
; __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
nimal, self-contained, reproducible code.
> >
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented
l to the row names of the output data frame -
but can be in a different order. Constructing the SpatialPolygonsDataFrame
will put the data frame rows in the order of the polygons.
Roger
> Thanks so much for your help!
- Original Message
From: Roger Bivand <[EMAIL PROTECTED]
yULcorner <- yLLcorner + (cellsize * (nrow(area) - 1))
> yURcorner <- yULcorner
> yLRcorner <- yLLcorner
> coordsa <- expand.grid(y = seq(yULcorner, yLRcorner, by = -20),x =
> seq(xULcorner, xLRcorner, by = 20))
> area<- data.frame(coordsa, tmin = as.vector(c(area,recu
, as I have to do this on 10 datasets?)
>
> Thanks for any advice you can offer to this endevour
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-proj
ld-style classes.
Roger
> #_____
>
> All works fine, but merge() changes the rownames and the link between the
> polygons and the corresponding rows is lost. I tried numerous other
> solutions (such as
t;y_rdm<-coord$y_utm[1]+radius*sin(angle)
> >>result<-as.data.frame(cbind(x_rdm,y_rdm, x_utm, y_utm))
> ># We can calculate the distance between the original and the random
> ># location
> >> result$dist_m<-sqrt(((coord$x_utm-result$x_rdm)^2+
> > (coord$y_utm-resul
ye's
frameworks (rgdal binaries are provided in harmony with PROJ.4 and GDAL).
By the way:
RSiteSearch("rgdal macosx")
first hit takes you to a recent reply on this topic on the R-sig-geo list.
> any tips on getting the rgdal package up and running on MacOS or Windows
> would
ASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Admi
ersion deleted]]
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contai
_
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Roger Bivand
Economic Ge
1 - 100 of 452 matches
Mail list logo