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
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
Dear Frede and Ted,
What an absolutely crackerjack for somebody who was begging for such a
solution. It worked and worked awfully well.
I am grateful!
Eliza
> From: fr...@vestas.com
> To: eliza_bo...@hotmail.com; r-help@r-project.org
> Date: Mon, 24 Mar 2014 08:09:26 +0100
> Sub
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
Hi Eliza
I think this comes close to what you want (escaping manual work).
library("maps")
library("sp") ## has a point.in.polygon function
ireland <- map("world", "ireland")
map.axes()
xr <- range(ireland$x, na.rm = TRUE)
yr <- range(ireland$y, na.rm = TRUE)
xseq <- seq(xr[1], xr[2], by = 0.1
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
-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
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
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
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
> -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
;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
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
Probably but since we don't know what you are doing, it is very hard to give
any advice.
Please read this for a start
https://github.com/hadley/devtools/wiki/Reproducibility and give us a clear
statement of the problem
Thanks
John Kane
Kingston ON Canada
> -Original Message-
> Fr
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
Here's a start...
> require("maps")
> foo <- map("state", "new york")
> lines(x = range(foo$x, na.rm = TRUE), y = range(foo$y, na.rm = TRUE))
You can figure out from this how to specify the coordinates that you
want for dividing up the map, put them in a file etc.
Steven McKinney
__
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
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
Look at my.symbols and ms.image in the TeachingDemos package.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of
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
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
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
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
___
--
>
> 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
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
.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
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,
Hi
I am not sure if you can do what you want. Segments are not points so your
pch option is (I believe) ignored. You could play with lmitre and lend
parameters, but it probably would not help much.
You cold try to look at
?symbols
but you probably need to change source code to suit your needs.
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, col="black", xlab="", border = NA, space = 7,
xlim=c(0,650), ylim =c(0, 87), las = 2, horiz = TRUE)
axis (1, at = seq(0,600,10), l
Your question is not really clear, do either of these examples do what you want?
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, plot(x1, y2, ylim=
>> -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,
>>
>>
>>
>> I would like to produce a plot of variables where the s
?symbols
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Irene Mantzouni
> Sent: Friday, May 02, 2008 7:52 AM
> To: [EMAIL PROTEC
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
48 matches
Mail list logo