Re: [R] points with-in boundaries of a map

2014-03-24 Thread eliza botto
Thanks ray, I really appreciate your concern. Eliza > Date: Tue, 25 Mar 2014 08:35:15 +1300 > From: ray.brownr...@ecs.vuw.ac.nz > To: fr...@vestas.com; eliza_bo...@hotmail.com; r-help@r-project.org > Subject: Re: [R] points with-in boundaries of a map > > On 24/03/14 20

Re: [R] points with-in boundaries of a map

2014-03-24 Thread Ray Brownrigg
On 24/03/14 20:09, Frede Aakmann Tøgersen wrote: : > ## get ireland map as polygon, only for main island > ## map.poly not exported so use maps:::map.poly > ## use exact to leave out Achill Island and only get main island > ie.polygon <- maps:::map.poly("world", "Ireland", exact = TRUE, as.polygon

Re: [R] points with-in boundaries of a map

2014-03-24 Thread eliza botto
ance & Modeling > > Technology & Service Solutions > T +45 9730 5135 > M +45 2547 6050 > fr...@vestas.com > http://www.vestas.com > > Company reg. name: Vestas Wind Systems A/S > This e-mail is subject to our e-mail disclaimer statement. > Please refer to www.

Re: [R] points with-in boundaries of a map

2014-03-24 Thread Frede Aakmann Tøgersen
e received this e-mail in error please contact the sender. > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Ted Harding > Sent: 24. marts 2014 09:06 > To: r-help@r-project.org > Subject: Re: [R] points with-i

Re: [R] points with-in boundaries of a map

2014-03-24 Thread Frede Aakmann Tøgersen
p; Modeling Technology & Service Solutions T +45 9730 5135 M +45 2547 6050 fr...@vestas.com http://www.vestas.com Company reg. name: Vestas Wind Systems A/S This e-mail is subject to our e-mail disclaimer statement. Please refer to www.vestas.com/legal/notice If you have received this e-mail in error p

Re: [R] points with-in boundaries of a map

2014-03-23 Thread Ted Harding
On 23-Mar-2014 22:50:50 Jim Lemon wrote: > On 03/23/2014 10:29 PM, eliza botto wrote: >> Thankyou very much jim. it worked! but regarding second part of my >> question, isn't there a way to read the coordinates of intersecting >> lines with the premises of the map? > > Hi Eliza, > I think you want

Re: [R] points with-in boundaries of a map

2014-03-23 Thread eliza botto
-project.org > Subject: Re: [R] points with-in boundaries of a map > > On 03/23/2014 10:29 PM, eliza botto wrote: > > Thankyou very much jim. it worked! but regarding second part of my > > question, isn't there a way to read the coordinates of intersecting > > lines with

Re: [R] points with-in boundaries of a map

2014-03-23 Thread Jim Lemon
On 03/23/2014 10:29 PM, eliza botto wrote: Thankyou very much jim. it worked! but regarding second part of my question, isn't there a way to read the coordinates of intersecting lines with the premises of the map? Hi Eliza, I think you want the "locator" function, which will return the coordin

Re: [R] points with-in boundaries of a map

2014-03-23 Thread eliza botto
m > CC: r-help@r-project.org > Subject: Re: [R] points with-in boundaries of a map > > On 03/23/2014 01:01 PM, eliza botto wrote: > > Dear UseRs, > > I have a question regarding reading the coordinates within a country' map. > > I drew map of ireland

Re: [R] points with-in boundaries of a map

2014-03-22 Thread Jim Lemon
On 03/23/2014 01:01 PM, eliza botto wrote: Dear UseRs, I have a question regarding reading the coordinates within a country' map. I drew map of ireland by using the following commands library("maps") library("mapproj") map("world", "ireland") map.axes() You can clearly see the axis labelled. Wha

[R] points with-in boundaries of a map

2014-03-22 Thread eliza botto
Dear UseRs, I have a question regarding reading the coordinates within a country' map. I drew map of ireland by using the following commands library("maps") library("mapproj") map("world", "ireland") map.axes() You can clearly see the axis labelled. What is want to do is to draw lines (both verti

[R] Points to spatial polygons

2014-02-28 Thread Adrian Antonescu
Hi All, With the risk of asking an obvious question: I have use the following code to generate hexagonal tessellation: lambertCRS<-"+proj=laea" coords1<-matrix(c(-30,31,-30,80,50,80,50,31,-30,31),ncol=2, byrow=TRUE) coords=project(coords1,lambertCRS) pg=Polygon(coords) HexPts=spsample(pg, type=

Re: [R] points overlay axis

2013-05-17 Thread Jonathan Phillips
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On > Behalf Of John Kane > Sent: Tuesday, May 14, 2013 7:47 AM > To: Jonathan Phillips; r-help@r-project.org > Subject: Re: [R] points overlay axis > > Probably

Re: [R] points overlay axis

2013-05-14 Thread David Carlson
;M University College Station, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of John Kane Sent: Tuesday, May 14, 2013 7:47 AM To: Jonathan Phillips; r-help@r-project.org Subject: Re: [R] points overlay axis Probably but

Re: [R] points overlay axis

2013-05-14 Thread David Carlson
e- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of John Kane Sent: Tuesday, May 14, 2013 7:47 AM To: Jonathan Phillips; r-help@r-project.org Subject: Re: [R] points overlay axis Probably but since we don't know what you are doing, it is very hard to give a

Re: [R] points overlay axis

2013-05-14 Thread John Kane
Message- > From: 994p...@gmail.com > Sent: Tue, 14 May 2013 13:34:35 +0100 > To: r-help@r-project.org > Subject: [R] points overlay axis > > Hi, > I'm trying to do quite a simple task, but I'm stuck. > > I've set xaxs = 'i' as I want the origin to

[R] points overlay axis

2013-05-14 Thread Jonathan Phillips
Hi, I'm trying to do quite a simple task, but I'm stuck. I've set xaxs = 'i' as I want the origin to be (0,0), but unfortunately I have points that are sat on the axis. R draws the axis over the points, which hides the points somewhat and looks unsightly. Is there any way of getting a point to be

Re: [R] points rejected as lying outside the specified window

2013-01-29 Thread Rolf Turner
This is a question about the "spatstat" package and as such would have been more appropriately directed to the R-sig-Geo list. (1) Your code seems unnecessarily complicated; I haven't followed it through in detail however. (2) You did not get an "error", you got a "warning". This warning means

[R] points rejected as lying outside the specified window

2013-01-29 Thread Abby Rudolph
Hello, I am using the following code to create ppp files from csv data and map shape files, but I am getting some errors which I have been unable to fix by searching them online: library(spatstat) library(maps) library(maptools) NYC2<-readShapePoly("nybb.shp") # this is a map of the NYC borou

Re: [R] points

2012-08-01 Thread David Winsemius
On Jul 31, 2012, at 9:01 AM, B787s wrote: Dear R-Help, I am using 'rms' package to draw nomogram. I wonder how is the "Points" determined for each predictor in the model? Is it by the coefficient estimate (beta) relative to the highest effect in the model or? It would be better if you ask

[R] points

2012-07-31 Thread B787s
Dear R-Help, I am using 'rms' package to draw nomogram. I wonder how is the "Points" determined for each predictor in the model? Is it by the coefficient estimate (beta) relative to the highest effect in the model or? Thanks Lin -- View this message in context: http://r.789695.n4.nabble.com/

Re: [R] points() function will not plot

2012-06-02 Thread Sarah Goslee
Looks like you've swapped x and y. Sarah On Friday, June 1, 2012, David Winsemius wrote: > > On Jun 1, 2012, at 4:09 PM, jcrosbie wrote: > > I can not get the point function to work with in my code. >> >> The code: >> >> AggOfTempMatrix$**CumSumPercentSize<-c( >> 0.05265450, 0.05738490, 0.0586

Re: [R] points() function will not plot

2012-06-01 Thread David Winsemius
On Jun 1, 2012, at 4:09 PM, jcrosbie wrote: I can not get the point function to work with in my code. The code: AggOfTempMatrix$CumSumPercentSize<-c( 0.05265450, 0.05738490, 0.05865403, 0.05911553, 0.05957703, 0.06003854, 0.06058368, 0.06098750, 0.06147208, 0.06187589, 0.06291427, 0.0633

[R] points() function will not plot

2012-06-01 Thread jcrosbie
I can not get the point function to work with in my code. The code: AggOfTempMatrix$CumSumPercentSize<-c( 0.05265450, 0.05738490, 0.05865403, 0.05911553, 0.05957703, 0.06003854, 0.06058368, 0.06098750, 0.06147208, 0.06187589, 0.06291427, 0.06331808, 0.06354884, 0.06408533, 0.06489296, 0.07

Re: [R] Points inside a polygon

2012-01-12 Thread Rolf Turner
On 12/01/12 17:28, Hasan Diwan wrote: I have a list of bounds for a series of polygons. I do understand the formula to determine whether point i is within polygon X (X[x1]< i[x] & X[x2]> i[x]& X[y1]< i[y]& X[y2]> i[y]), and I can apply this throughout the dataset. However, this naive algor

Re: [R] Points inside a polygon

2012-01-12 Thread Justin Haynes
On Wed 11 Jan 2012 08:28:03 PM PST, Hasan Diwan wrote: I have a list of bounds for a series of polygons. I do understand the formula to determine whether point i is within polygon X (X[x1]< i[x] & X[x2]> i[x]& X[y1]< i[y]& X[y2]> i[y]), and I can apply this throughout the dataset. However,

[R] Points inside a polygon

2012-01-11 Thread Hasan Diwan
I have a list of bounds for a series of polygons. I do understand the formula to determine whether point i is within polygon X (X[x1] < i[x] & X[x2] > i[x] & X[y1] < i[y] & X[y2] > i[y]), and I can apply this throughout the dataset. However, this naive algorithm doesn't scale very well. The data se

Re: [R] points() colored by value

2011-11-15 Thread Sarah Goslee
Hi Chris, On Tue, Nov 15, 2011 at 1:47 PM, Chris82 wrote: > Hi R users, > > I want to colored points by their value > > for example: > > x <- c(1,2,3,4) > y <- c(1,2,3,4) > z <- c(2,3,4,9) > > y and x are coordinates > > z is the value of the coordinates > > points(x,y,col= rainbow(z)) In the ge

Re: [R] points() colored by value

2011-11-15 Thread R. Michael Weylandt
Try either col=z or col=rainbow(max(z))[z] depending on what color scheme you want. Michael On Nov 15, 2011, at 1:47 PM, Chris82 wrote: > Hi R users, > > I want to colored points by their value > > for example: > > x <- c(1,2,3,4) > y <- c(1,2,3,4) > z <- c(2,3,4,9) > > y and x are coord

[R] points() colored by value

2011-11-15 Thread Chris82
Hi R users, I want to colored points by their value for example: x <- c(1,2,3,4) y <- c(1,2,3,4) z <- c(2,3,4,9) y and x are coordinates z is the value of the coordinates points(x,y,col= rainbow(z)) something like that But haven't found any solution at the moment. Thanks. Chris -- View

Re: [R] Points but no lines in qplot.

2011-06-30 Thread Ashim Kapoor
This is probably due to a numerical value that is coded as a factor. Have a look at the example below. > In ggplot2 one line per group is plotted. The default grouping is the > combination of all factors. In the first example only B, in the second and > third example both A and B. This leaves just

Re: [R] Points but no lines in qplot.

2011-06-30 Thread ONKELINX, Thierry
16:09 > Aan: Sarah Goslee > CC: r-help@r-project.org > Onderwerp: Re: [R] Points but no lines in qplot. > > Two things I'd try: > > > run your code in a clean R session, started at the command line with R > > --vanilla and just loading that exact dataset and running

Re: [R] Points but no lines in qplot.

2011-06-30 Thread Hadley Wickham
On Thu, Jun 30, 2011 at 7:31 AM, Ashim Kapoor wrote: > Dear R helpers, > > I have molten data which is : - > >> t3 >   Year       variable        value > 1  2005     ICICI.Bank 27488370 > 2  2006     ICICI.Bank 43166850 > 3  2007     ICICI.Bank 59515300 > 4  2008     ICICI.Bank 6308576

Re: [R] Points but no lines in qplot.

2011-06-30 Thread Sarah Goslee
Hi, > > I upgraded to the new R and tried R --vanilla but I still see no lines. In > the legend,as earlier,I see a line through a point but in the graph I see > only points. No lines. Any ideas now ? Not a clue. I even tried version of the data with t3 as character, and as a factor, since that's

Re: [R] Points but no lines in qplot.

2011-06-30 Thread Ashim Kapoor
Two things I'd try: > run your code in a clean R session, started at the command line with R > --vanilla and just loading that exact dataset and running that line of > code, in case there are issues with other things in your session. > > Upgrade to the current version of R. > > Dear Sarah, I upgr

Re: [R] Points but no lines in qplot.

2011-06-30 Thread Sarah Goslee
On Thu, Jun 30, 2011 at 8:53 AM, Ashim Kapoor wrote: > Yes Sarah,I am using qplot from ggplot2. > > My sessionInfo is as follows : - > >> sessionInfo() > R version 2.12.1 (2010-12-16) > Platform: x86_64-pc-linux-gnu (64-bit) Two things I'd try: run your code in a clean R session, started at the c

Re: [R] Points but no lines in qplot.

2011-06-30 Thread Ashim Kapoor
Yes Sarah,I am using qplot from ggplot2. My sessionInfo is as follows : - > sessionInfo() R version 2.12.1 (2010-12-16) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_IN LC_NUMERIC=C LC_TIME=en_IN [4] LC_COLLATE=en_IN LC_MONETARY=CLC_MESSAGES=en_IN [7

Re: [R] Points but no lines in qplot.

2011-06-30 Thread Sarah Goslee
Hi, You seem to be using qplot() from the ggplot2 package, but you really need to specify: there are several packages with a function of that name. That said, when I run your example I get a plot with both lines and points, which means we're going to need more information from you, specifically s

[R] Points but no lines in qplot.

2011-06-30 Thread Ashim Kapoor
Dear R helpers, I have molten data which is : - > t3 Year variablevalue 1 2005 ICICI.Bank 27488370 2 2006 ICICI.Bank 43166850 3 2007 ICICI.Bank 59515300 4 2008 ICICI.Bank 63085760 5 2009 ICICI.Bank 54526330 6 2005 HDFC.Bank 265

Re: [R] Points on Map

2011-03-28 Thread Steven McKinney
e map, put them in a file etc. Steven McKinney From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Jaimin Dave [davejaim...@gmail.com] Sent: March 28, 2011 11:12 AM To: r-help@r-project.org Subject: [R] Points on Map Hi, I am new to R and I

[R] Points on Map

2011-03-28 Thread Jaimin Dave
Hi, I am new to R and I want to plot points on the Map of New York . I also want to divide map of New York into small grids(not fixed) .I want that these point should be plotted from a file.How can I do it?Any help would be greatly appreciated. Thanks Jaimin [[alternative HTML version d

Re: [R] points() rendering points outside of input

2011-03-18 Thread Peter Ehlers
On 2011-03-18 13:28, Adam Hyland wrote: As a followup to pi-day, I attempted to make a .gif of a simulation based estimation of pi by plotting points inside a single quadrant of a circle (a la http://www.drewconway.com/zia/?p=2667 ). When rendering the individual x,y pairs with points() I interm

[R] points() rendering points outside of input

2011-03-18 Thread Adam Hyland
As a followup to pi-day, I attempted to make a .gif of a simulation based estimation of pi by plotting points inside a single quadrant of a circle (a la http://www.drewconway.com/zia/?p=2667 ).  When rendering the individual x,y pairs with points() I intermittently see points crop up around (2,0.5)

Re: [R] points( .... pch=2) substitue pch with image

2010-10-20 Thread Knut Krueger
Am 19.10.2010 23:23, schrieb Greg Snow: Look at my.symbols and ms.image in the TeachingDemos package. Thank you, that's I was looking for. Knut __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the po

Re: [R] points( .... pch=2) substitue pch with image

2010-10-19 Thread Greg Snow
Behalf Of Knut Krueger > Sent: Tuesday, October 19, 2010 4:50 AM > To: 'R R-help' > Subject: [R] points( pch=2) substitue pch with image > > Hi to all, > is there any function where I can substitute the characters with an >

Re: [R] points(x,y), mean and standard deviation

2010-10-19 Thread Dennis Murphy
lines(1:5, means.cl) HTH, Dennis On Tue, Oct 19, 2010 at 7:13 AM, ashz wrote: > > Hi, > > Thanks for the tip. > > I run this script: > means.cl <- c(82, 79, 110, 136,103) > stderr.cl <- c(8.1,9.2,7.4,1.6,7.6) > plotCI(x = means.cl , uiw = stderr.cl, pch=24) > > But how can I connect the mean t

Re: [R] points(x,y), mean and standard deviation

2010-10-19 Thread Joshua Wiley
Hi, Here is an example using ggplot2. For future reference, it would be convenient if you provided sample data. This is actually pretty easy to do: dput(yourdata) or if your data is very large: dput(head(yourdata)). At any rate, here is an example with the means plotted as points and connected

Re: [R] points(x,y), mean and standard deviation

2010-10-19 Thread ashz
Hi, Thanks for the tip. I run this script: means.cl <- c(82, 79, 110, 136,103) stderr.cl <- c(8.1,9.2,7.4,1.6,7.6) plotCI(x = means.cl , uiw = stderr.cl, pch=24) But how can I connect the mean triangles with a line? Thanks -- View this message in context: http://r.789695.n4.nabble.com/poin

[R] points( .... pch=2) substitue pch with image

2010-10-19 Thread Knut Krueger
Hi to all, is there any function where I can substitute the characters with an (jpg) image ? Kind regards Knut __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.or

Re: [R] points(x,y), mean and standard deviation

2010-10-19 Thread Jim Lemon
On 10/19/2010 07:41 PM, ashz wrote: Hi, I have a data set with 3 rows (X=date, Y1=arithmetic mean and Y2=standard deviation). How can I create a graph(e.g., points) which will show the +-stdev as well (similar to excel). Hi ashz, See FAQ 7.38. Jim ___

[R] points(x,y), mean and standard deviation

2010-10-19 Thread ashz
Hi, I have a data set with 3 rows (X=date, Y1=arithmetic mean and Y2=standard deviation). How can I create a graph(e.g., points) which will show the +-stdev as well (similar to excel). Thanks -- View this message in context: http://r.789695.n4.nabble.com/points-x-y-mean-and-standard-deviatio

Re: [R] points marking

2010-06-22 Thread khush ........
-- > > Gregory (Greg) L. Snow Ph.D. > > Statistical Data Center > > Intermountain Healthcare > > greg.s...@imail.org > > 801.408.8111 > > > > *From:* khush [mailto:bioinfo.kh...@gmail.com] > *Sent:* Monday, June 14, 2010 11:21 PM > *To:* G

Re: [R] points marking

2010-06-14 Thread Greg Snow
are greg.s...@imail.org 801.408.8111 From: khush [mailto:bioinfo.kh...@gmail.com] Sent: Saturday, June 12, 2010 5:38 AM To: Greg Snow Cc: r-help@r-project.org; Petr PIKAL Subject: Re: [R] points marking Hi, Well Thanks for letting me know that pch is of no use with segments petr. I am

Re: [R] points marking

2010-06-12 Thread khush ........
.s...@imail.org > > 801.408.8111 > > > > *From:* khush [mailto:bioinfo.kh...@gmail.com] > *Sent:* Friday, June 11, 2010 12:00 AM > *To:* Greg Snow > *Cc:* r-help@r-project.org > *Subject:* Re: [R] points marking > > > > Dear Gregory , > > Thnaks for your r

Re: [R] points marking

2010-06-11 Thread Greg Snow
fo.kh...@gmail.com] Sent: Friday, June 11, 2010 12:00 AM To: Greg Snow Cc: r-help@r-project.org Subject: Re: [R] points marking Dear Gregory , Thnaks for your reply and help. I am explaining you my problems again, below is my script for the same . Dom <-c (195,568,559) fkbp <- barplot (Dom,

Re: [R] points marking

2010-06-10 Thread Petr PIKAL
gt; > > with(anscombe, plot(x1, y2, ylim=range(y2,y3)) ) > > with(anscombe, points(x1, y3, col='blue', pch=2) ) > > with(anscombe, segments(x1, y2, x1, y3, col=ifelse( y2>y3, 'green','red') > > ) ) > > > > > > with(anscombe,

Re: [R] points marking

2010-06-10 Thread khush ........
ue', pch=2) ) > with(anscombe, segments(x1, y2, x1, y3, col=ifelse( y2>y3, 'green','red') > ) ) > > > with(anscombe, plot(x1, y2, ylim=range(y2,y3), type='n') ) > with(anscombe[order(anscombe$x1),], polygon( c( x1,rev(x1) ), c(y2, > r

Re: [R] points marking

2010-06-10 Thread Greg Snow
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of khush > Sent: Thursday, June 10, 2010 7:48 AM > To: r-help@r-project.org > Subject: [R] points marking > > Hi, > > How to mark points on x axi

[R] points marking

2010-06-10 Thread khush ........
Hi, How to mark points on x axis of a graph keeping x axis as constant and changing y from y1 to y2 respectively. I want to highlight the area from y1 to y2. Any suggestions Thank you Jeet [[alternative HTML version deleted]] __ R-help@r-pro

[R] points geodata {geoR}

2009-04-16 Thread giuseppef...@libero.it
I used points graphic (geoR) in this way: points(zn,pt.divide=c("quintiles"), main="Location map of Zn",lambda=1,col="gray",yl="coord y",xl="coord x",x.leg=0. 3, y.leg=5.5,dig.leg=2,cex.min=0.5,cex.max=1,) Can I reduce legend characters (a sort of cex)? _

Re: [R] points size in plots

2008-05-02 Thread Ruben Roa Ureta
>> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Irene Mantzouni >> Sent: Friday, May 02, 2008 7:52 AM >> To: [EMAIL PROTECTED] >> Subject: [R] points size in plots >> >> Dear list, >> >>

Re: [R] points size in plots

2008-05-02 Thread Greg Snow
> To: [EMAIL PROTECTED] > Subject: [R] points size in plots > > Dear list, > > > > I would like to produce a plot of variables where the size of > the points will be indicative of their standard errors. > > How is that possible? > > > > Th

Re: [R] points size in plots

2008-05-02 Thread hadley wickham
Hi Irene, Assuming you have already calculated the standard errors, something like the following will work: library(ggplot2) qplot(x, y, data=mydataframe, size = se) Hadley On Fri, May 2, 2008 at 8:52 AM, Irene Mantzouni <[EMAIL PROTECTED]> wrote: > Dear list, > > > > I would like to produce a

[R] points size in plots

2008-05-02 Thread Irene Mantzouni
Dear list, I would like to produce a plot of variables where the size of the points will be indicative of their standard errors. How is that possible? Thank you! [[alternative HTML version deleted]] __ R-help@r-project.org mailing li