Re: [R] maptools package

2010-11-10 Thread Aleksandr Andreev
                          Department of Statistics >                                         UC Berkeley >                                         spec...@stat.berkeley.edu > > > > On Wed, 10 Nov 2010, Aleksandr Andreev wrote: > >> A few years back, I wrote some code to pl

[R] maptools package

2010-11-10 Thread Aleksandr Andreev
, but does not have components 'x' and 'y' What's the new syntax that I'm supposed to use? I'm using R version 2.12.0 (2010-10-15) on x86_64-pc-linux-gnu (64-bit) Thanks, Aleksandr Andreev Graduate Student - Department of Eco

[R] Marginal effects after probit

2009-09-14 Thread Aleksandr Andreev
Does anyone know if there is a function in R that will compute marginal effects after a probit or logit model, much like STATA's command mfx? Thanks, Aleks Aleksandr Andreev Graduate Student - Department of Economics University of North Carolina at Chapel Hill M

[R] maptools: Test if point is in polygon

2009-02-05 Thread Aleksandr Andreev
In R's maptools package, is there a built-in function to test if a given point is "inside" a given polygon on the map? The map was loaded from an ESRI Shapefile. The point's latitude and longitude are known. Thank you! Aleks -- -------- Aleksandr Andr

[R] Non-Latin labels in identify

2009-01-03 Thread Aleksandr Andreev
ks Andreev -- ---- Aleksandr Andreev Fulbright Fellow Graduate School of Management St Petersburg State University Skype: typiconman __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide ht

Re: [R] Generating maps in R (Roger Bivand)

2008-04-01 Thread Aleksandr Andreev
agg2, by="row.names", all=TRUE) It worked after I added one more step: row.names(FS1d) <- FS1d$SUBJECT Thanks! Aleksandr Andreev Duke University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do rea

Re: [R] Generating maps in R

2008-03-30 Thread Aleksandr Andreev
3 Federal Subjects plus 100 Arctic Ocean Islands and other things). Is there a way I can merge without an equal number of rows, labeling the data for the Arctic islands as missing? Thanks, Aleks Andreev Duke University 2008/3/29, Aleksandr Andreev <[EMAIL PROTECTED]>: > Greetings! > >

[R] Generating maps in R

2008-03-29 Thread Aleksandr Andreev
Greetings! I am trying plot some data on a map in R. Here's the scenario. I have a variable called probworkinghealthy which contains a predicted probability of employment for every individual in my sample (about 100,000 observations). I have another variable, called a001ter, which contains the su