Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-14 Thread Ebert,Timothy Aaron
Why insist on agricolae? Here is an example using multcompiew https://r-graph-gallery.com/84-tukey-test.html You have the same question posted to stackoverflow. https://stackoverflow.com/questions/77090467/graph-in-r-with-grouping-letters-from-the-tukey-lsd-duncan-test-with-agricolae I searched

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-14 Thread Jeff Newmiller via R-help
This request sounds a lot like "do my work for me"... even like it might be homework... both scenarios are disallowed here. Also, you need to read the Posting Guide... not all attachments are allowed on this mailing list, so even if you attached an image we did not get it. Go look at the

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-14 Thread Bert Gunter
No graphs. The link is paywalled. Bert Gunter On Thu, Sep 14, 2023 at 10:55 AM Loop Vinyl wrote: > Yes, the data and the R code used are attached. > > I would like to produce the attached graph (graph1) with the R package > agricolae, could someone give me an example with the attached data >

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-14 Thread Loop Vinyl
Yes, the data and the R code used are attached. I would like to produce the attached graph (graph1) with the R package agricolae, could someone give me an example with the attached data (vermiwash and Rcode_vermiwash)? Fig. 7, https://doi.org/10.1007/s42729-023-01295-3 I expect an adapted graph

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-13 Thread peter dalgaard
Yes. Old John T. must be turning on his skewer...er, in his grave, I mean. (I gather he was actually more amicable than that, though.) - pd > On 13 Sep 2023, at 16:20 , Ben Bolker wrote: > > As a side note, I'm curious how often "Tukey test" is misspelled as "Turkey > test". > > >

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-13 Thread Ebert,Timothy Aaron
Bolker Sent: Wednesday, September 13, 2023 10:20 AM To: r-help@r-project.org Subject: Re: [R] graph in R with grouping letters from the turkey test with agricolae package [External Email] As a side note, I'm curious how often "Tukey test" is misspelled as "Turkey test".

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-13 Thread Ben Bolker
As a side note, I'm curious how often "Tukey test" is misspelled as "Turkey test". Googling '"turkey test" mean comparison' gives 36.1K results (vs 14.3M for '"tukey test" mean comparison" ... On 2023-09-13 10:02 a.m., Richard O'Keefe wrote: d <- read.table("data.txt", TRUE) cor(d[,

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-13 Thread Richard O'Keefe
> d <- read.table("data.txt", TRUE) > cor(d[, 3:6]) VAR1 VAR2 VAR3 VAR4 VAR11111 VAR21111 VAR31111 VAR41111 VAR1 to VAR4 are, up to linear scaling, exactly the same variable. Why is that? On Wed, 13 Sept 2023 at 07:38, Loop

Re: [R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-12 Thread Rui Barradas
Às 16:24 de 12/09/2023, Loop Vinyl escreveu: I would like to produce the attached graph (graph1) with the R package agricolae, could someone give me an example with the attached data (data)? I expect an adapted graph (graph2) with the data (data) Best regards

[R] graph in R with grouping letters from the turkey test with agricolae package

2023-09-12 Thread Loop Vinyl
I would like to produce the attached graph (graph1) with the R package agricolae, could someone give me an example with the attached data (data)? I expect an adapted graph (graph2) with the data (data) Best regards TREAT REP VAR1VAR2VAR3VAR4 t1 1 16,10,805

Re: [R] Graph f(x) = 1/x

2017-09-19 Thread ruipbarradas
Hello, I believe that the easiest way is curve(1/x, -5, 5) Also, you're missing a '-' in y < 1/x, it should be y <- 1/x Hope this helps, Rui Barradas Citando AbouEl-Makarim Aboueissa : Dear All: good morning I am trying to graph the function y=f(x)=1/x over

Re: [R] Graph f(x) = 1/x

2017-09-19 Thread Ivan Calandra
It's always good to start a new session when you don't understand what's wrong, because sometimes your code is correct, but you use old data without knowing it :) Ivan -- Dr. Ivan Calandra TraCEr, Laboratory for Traceology and Controlled Experiments MONREPOS Archaeological Research Centre and

Re: [R] Graph f(x) = 1/x

2017-09-19 Thread AbouEl-Makarim Aboueissa
Dear Zeileis: Thank you very much abou On Tue, Sep 19, 2017 at 4:13 AM, Achim Zeileis wrote: > > > On Tue, 19 Sep 2017, AbouEl-Makarim Aboueissa wrote: > > Dear All: good morning >> >> I am trying to graph the function y=f(x)=1/x over the interval (-5,5). But >> I am

Re: [R] Graph f(x) = 1/x

2017-09-19 Thread Achim Zeileis
On Tue, 19 Sep 2017, AbouEl-Makarim Aboueissa wrote: Dear All: good morning I am trying to graph the function y=f(x)=1/x over the interval (-5,5). But I am getting an error message. Please see below. I am getting the error message: *Error in xy.coords(x, y, xlabel, ylabel, log) : * * 'x'

[R] Graph f(x) = 1/x

2017-09-19 Thread AbouEl-Makarim Aboueissa
Dear All: good morning I am trying to graph the function y=f(x)=1/x over the interval (-5,5). But I am getting an error message. Please see below. I am getting the error message: *Error in xy.coords(x, y, xlabel, ylabel, log) : * * 'x' and 'y' lengths differ* x x <- seq(-5, 5, 0.01) y < 1/x

Re: [R] Graph and Compare Distributions

2017-02-18 Thread Jeff Newmiller
Please post your code. Read the Posting Guide, which points out that you need to put the code in the body of your email and make sure the email is sent in plain text format (a setting in your mail software). This is not a "do your work for you" mailing list. -- Sent from my phone. Please

[R] Graph and Compare Distributions

2017-02-18 Thread Vasilis Bardakos
Dear Sirs, I'm trying to demonstrate and compare my data first digit distributions in comparison with benford's law, but I cannot figure out how do a correct ggplot histogram. plot() works fine though. The data are the following (probabilities): [1] 0.37101911 0.17515924 0.08917197 0.08121019

Re: [R] graph together 4 series after HP filter

2016-09-06 Thread Giorgio Garziano
Hi Sebastian, here are examples with ggplot2 and basic graphic. http://stackoverflow.com/questions/3777174/plotting-two-variables-as-lines-using-ggplot2-on-the-same-graph http://stackoverflow.com/questions/17150183/r-plot-multiple-lines-in-one-graph You may also impress your audience by using

Re: [R] graph together 4 series after HP filter

2016-09-06 Thread Bert Gunter
?lines ?points to add to an existing base graphics graph. There are other ways to do this in the other graph systems (ggplot, lattice,...) used in R. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka

[R] graph together 4 series after HP filter

2016-09-06 Thread Sebastian Kruk
Dear R-users: Let's see if you can help. I have an matrix of class "ts" of 100 rows by 4 columns which called PP. In each column I have the time series of quarterly GDP from 4 countries. They applied the Hodrick -Prescott filter and now I want to plot simultaneously cyclical component of the 4

Re: [R] graph: horizontal bar reflecting number of data

2016-07-15 Thread Dagmar
Ron: That was exactly what I was looking for! Thank you Ron! Also thanks to Ulrik and Jim who tried to help. I learned a lot! Dagmar Am 15.07.2016 um 12:48 schrieb Crump, Ron: Hi Dagmar, I want the names of the weeks on the x axis and the animals on the y-axis. Then, the shading of the

Re: [R] graph: horizontal bar reflecting number of data

2016-07-15 Thread Crump, Ron
Hi Dagmar, I want the names of the weeks on the x axis and the animals on the y-axis. Then, the shading of the barplot is supposed to represent the number of data per week. If I understand the above correctly, and using the example dataset constructed by Ulrik: datframe <-

Re: [R] graph: horizontal bar reflecting number of data

2016-07-15 Thread Jim Lemon
Hi Dagmar, Maybe your want something like this? datframe<-data.frame(Name=c("Kati","Kati","Kati","Leon","Leon","Leon" ), week =c("1","2", "3", "1","2", "3"), numberdata =c("5","12", "1", "6","2", "5")) datframe datframe$numberdata<-as.numeric(as.character(datframe$numberdat)) library(plotrix)

Re: [R] graph: horizontal bar reflecting number of data

2016-07-15 Thread Ulrik Stervbo
Dear Dagmar, must the numberdata be character? Here are tew solutions. The first solution summarise before plotting and the second does everything in the plot library("dplyr") library("ggplot2") datframe <- data.frame(Name=c("Kati","Kati","Kati","Leon","Leon","Leon" ), week =c("1","2", "3",

Re: [R] graph: horizontal bar reflecting number of data

2016-07-15 Thread Dagmar
Dear all, dear Jim, Thank you for trying to help Jim. Unfortunately it didn't solve my problem. I want the names of the weeks on the x axis and the animals on the y-axis. Then, the shading of the barplot is supposed to represent the number of data per week. Any help? Dagmar Am 13.07.2016

Re: [R] graph: horizontal bar reflecting number of data

2016-07-13 Thread Jim Lemon
Hi Tagmarie, This might help: datframe$numberdata<-as.numeric(as.character(datframe$numberdat)) library(plotrix) barcol<-color.scale(datframe$numberdat,extremes=c("black","white")) barplot(matrix(datframe$numberdat,nrow=2,byrow=TRUE), beside=TRUE, horiz=TRUE,names.arg=paste("Week",1:3),

[R] graph: horizontal bar reflecting number of data

2016-07-13 Thread Dagmar
Dear all, I hope someone can help with my problem: I have a dataframe like this: datframe <- data.frame(Name=c("Kati","Kati","Kati","Leon","Leon","Leon" ), week =c("1","2", "3", "1","2", "3"), numberdata =c("5","12", "1", "6","2", "5")) datframe I want to create a graph like the attached

Re: [R] Embed fonts in an R graph

2015-07-10 Thread David Winsemius
On Jul 10, 2015, at 8:45 AM, David Winsemius wrote: On Jul 10, 2015, at 7:40 AM, Edwin Sun wrote: Hello all, I cannot embed a common font type into an R graph. I did it successfully in December 2014 with the previous R version. However, with R 3.2.1 in July 2015, the following sample

[R] Embed fonts in an R graph

2015-07-10 Thread Edwin Sun
Hello all, I cannot embed a common font type into an R graph. I did it successfully in December 2014 with the previous R version. However, with R 3.2.1 in July 2015, the following sample codes do not work anymore. pdf(file = c:/testA.pdf, family = serif) plot(x = 1:10, y = rnorm(10)) dev.off

Re: [R] Embed fonts in an R graph

2015-07-10 Thread David Winsemius
On Jul 10, 2015, at 7:40 AM, Edwin Sun wrote: Hello all, I cannot embed a common font type into an R graph. I did it successfully in December 2014 with the previous R version. However, with R 3.2.1 in July 2015, the following sample codes do not work anymore. pdf(file = c:/testA.pdf

Re: [R] Where is the R Graph Gallery?

2015-04-18 Thread Dirk Eddelbuettel
On 18 April 2015 at 05:29, John Kane wrote: | I think it moved to http://rgraphgallery.blogspot.com/ with a different interface. I don't think so. Something I contributed years ago to the original Graph Gallery is not on this site. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel |

Re: [R] Where is the R Graph Gallery?

2015-04-18 Thread John Kane
I thought I'd read about a migration. Well so much for memory. John Kane Kingston ON Canada -Original Message- From: e...@debian.org Sent: Sat, 18 Apr 2015 09:16:44 -0500 To: jrkrid...@inbox.com Subject: Re: [R] Where is the R Graph Gallery? On 18 April 2015 at 05:29, John

[R] Where is the R Graph Gallery?

2015-04-18 Thread Jinsong Zhao
Hi there, Does anyone here know where does the R Graph Gallery (http://addictedtor.free.fr/graphiques/) move to? I googled, but don't find any useful hints. Any help? Thanks in advance! Best, Jinsong __ R-help@r-project.org mailing list

Re: [R] Where is the R Graph Gallery?

2015-04-18 Thread Dirk Eddelbuettel
On 18 April 2015 at 20:10, Jinsong Zhao wrote: | Does anyone here know where does the R Graph Gallery | (http://addictedtor.free.fr/graphiques/) move to? I googled, but don't | find any useful hints. It went down due to (IIRC) hardware failure. It was said that it would come back

Re: [R] Where is the R Graph Gallery?

2015-04-18 Thread John Kane
I think it moved to http://rgraphgallery.blogspot.com/ with a different interface. John Kane Kingston ON Canada -Original Message- From: jsz...@yeah.net Sent: Sat, 18 Apr 2015 20:10:50 +0800 To: r-help@r-project.org Subject: [R] Where is the R Graph Gallery? Hi there, Does

Re: [R] Where is the R Graph Gallery?

2015-04-18 Thread Jim Lemon
Kingston ON Canada -Original Message- From: e...@debian.org Sent: Sat, 18 Apr 2015 09:16:44 -0500 To: jrkrid...@inbox.com Subject: Re: [R] Where is the R Graph Gallery? On 18 April 2015 at 05:29, John Kane wrote: | I think it moved to http://rgraphgallery.blogspot.com

Re: [R] Graph with ggplot2.

2015-03-25 Thread Thierry Onkelinx
You need to define limits as defined in the data. ylim(0, 1) instead of ylim(0%, 100%) ylim(0%, 100%) is incorrect R syntax. ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie Kwaliteitszorg / team Biometrics Quality Assurance

Re: [R] Graph with ggplot2.

2015-03-25 Thread Jeff Newmiller
It is difficult to read your code because the HTML format messes it up, but I think your ggplot function call is missing a parenthesis between fill=Prostate and the + sign. --- Jeff NewmillerThe

[R] Graph with ggplot2.

2015-03-25 Thread BenedettaB24 .
Dear all, I want to run ggplot2 in one of my file. I do this: mergefile- read.csv(path of my file/name.csv) library(ggplot2) to import my library ggplot(percent, aes(x=factor(Cell.lines), y=Percentage, vjust=-0.5, fill=Prostate )) + geom_bar(colour=black, stat=identity,

Re: [R] Graph with ggplot2.

2015-03-25 Thread S Ellison
i used this command three times, clearly not exactly this, if it's stopped working ... but now is not working, the error reported is: Error: unexpected ')' in ggplot(percent, aes(x=factor(Cell.lines), y=Percentage, vjust=-0.5, fill=Prostate )) + geom_bar(colour=black, stat=identity,

Re: [R] Graph with ggplot2.

2015-03-25 Thread JLucke
ylim(0%,100%) is not valild. It should be ylim(0,100). Jeff Newmiller jdnew...@dcn.davis.ca.us Sent by: R-help r-help-boun...@r-project.org 03/25/2015 11:14 AM To BenedettaB24 . benedetta.brune...@gmail.com, r-help@r-project.org r-help@r-project.org, cc Subject Re: [R] Graph with ggplot2

Re: [R] graph

2014-06-27 Thread Greg Snow
Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of IZHAK shabsogh Sent: Thursday, 26 June 2014 16:47 To: r-help@r-project.org Subject: [R] graph kindly guide me on how i can plot

[R] graph

2014-06-26 Thread IZHAK shabsogh
kindly guide me on how i can plot the following data on the same graph using the kernel density. i will like to use as to compare performance mu1-c(500.0035, 501.2213, 500.7532, 500.2622, 500.3391, 500.1618, 499.9511, 500.1843, 499.8945, 499.8467) mu2-c(498.9623, 504.7938, 506.8957, 495.6634,

Re: [R] graph

2014-06-26 Thread David L Carlson
] On Behalf Of IZHAK shabsogh Sent: Thursday, June 26, 2014 1:47 AM To: r-help@r-project.org Subject: [R] graph kindly guide me on how i can plot the following data on the same graph using the kernel density. i will like to use as to compare performance mu1-c(500.0035, 501.2213, 500.7532, 500.2622

Re: [R] graph

2014-06-26 Thread Greg Snow
Does this do what you want? d1 - density(mu1) d2 - density(mu2) d3 - density(mu3) d4 - density(mu4) matplot( cbind( d1$x, d2$x, d3$x, d4$x ), cbind( d1$y, d2$y, d3$y, d4$y ), type='l') Or in a more expandable way: mus - mget( ls(pat='^mu') ) ds - lapply( mus, density ) xs - sapply( ds, `[[`, x

Re: [R] graph

2014-06-26 Thread Duncan Mackay
: Thursday, 26 June 2014 16:47 To: r-help@r-project.org Subject: [R] graph kindly guide me on how i can plot the following data on the same graph using the kernel density. i will like to use as to compare performance mu1-c(500.0035, 501.2213, 500.7532, 500.2622, 500.3391, 500.1618, 499.9511, 500.1843

[R] graph: add 2 inches on the left outer region, but keep everything unchanged

2014-04-17 Thread Xing Zhao
Hi R experts, My original graph was plotted, and for some reason, I need to add extra '2' inches on the left side. Meanwhile, I want to keep everything unchanged. Particularly, the length-width ratio for each panel of the original graph is nice, therefore I want to keep the original ratio Adding

[R] Graph densification in large networks

2014-03-10 Thread Lietz, Haiko
Hi all, I have dynamic large 2-mode networks (1st mode ~50k nodes, 2nd mode ~500k nodes, timepoints ~100). I want to identify the number of new nodes and new edges per timepoint in folded 1-mode networks. In other words, I want to do measure graph densification as proposed by Leskovec et al.

Re: [R] Graph densification in large networks

2014-03-10 Thread Lietz, Haiko
(and not necessarily sparse) graphs? Haiko -Ursprüngliche Nachricht- Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im Auftrag von Lietz, Haiko Gesendet: Montag, 10. März 2014 10:34 An: r-help@r-project.org Betreff: [R] Graph densification in large networks Hi

Re: [R] Graph densification in large networks

2014-03-10 Thread Rui Barradas
Gesendet: Montag, 10. März 2014 10:34 An: r-help@r-project.org Betreff: [R] Graph densification in large networks Hi all, I have dynamic large 2-mode networks (1st mode ~50k nodes, 2nd mode ~500k nodes, timepoints ~100). I want to identify the number of new nodes and new edges per timepoint

[R] Graph dashboard

2013-11-08 Thread mohan . radhakrishnan
Hi, I have been exploring graph dashboards like http://sematext.com/img/products/spm/spm-solr-overview.png. I use R but haven't attempted to create a dashboard like this. I am thinking of parsing logs and showing dynamic logs - logs that fit into a small window but move left or right

Re: [R] Graph is without line

2013-09-25 Thread PIKAL Petr
, Mohan From: Jim Lemon j...@bitwrit.com.au To: mohan.radhakrish...@polarisft.com Cc: r-help@r-project.org Date: 09/25/2013 05:56 AM Subject:Re: [R] Graph is without line On 09/24/2013 10:46 PM, mohan.radhakrish...@polarisft.com wrote: Hi, Sometimes I

[R] Graph is without line

2013-09-24 Thread mohan . radhakrishnan
Hi, Sometimes I get a graph like the attached one. The data type could have something to do with it. This graph does not use the color and does not draw a line. Earlier I used to convert the factors in the data frame to another data type and drew the correct graphs. Any idea why this

Re: [R] Graph is without line

2013-09-24 Thread arun
Subject: [R] Graph is without line Hi,         Sometimes I get a graph like the attached one. The data type could have something to do with it. This graph does not use the color and does not draw a line. Earlier I used to convert the factors in the data frame to another data type and drew the correct

Re: [R] Graph is without line

2013-09-24 Thread Jim Lemon
On 09/24/2013 10:46 PM, mohan.radhakrish...@polarisft.com wrote: Hi, Sometimes I get a graph like the attached one. The data type could have something to do with it. This graph does not use the color and does not draw a line. Earlier I used to convert the factors in the data frame to

Re: [R] Graph is without line

2013-09-24 Thread mohan . radhakrishnan
j...@bitwrit.com.au To: mohan.radhakrish...@polarisft.com Cc: r-help@r-project.org Date: 09/25/2013 05:56 AM Subject:Re: [R] Graph is without line On 09/24/2013 10:46 PM, mohan.radhakrish...@polarisft.com wrote: Hi, Sometimes I get a graph like the attached one

Re: [R] graph related question

2013-08-22 Thread David Carlson
-project.org] On Behalf Of Jie Sent: Thursday, August 22, 2013 1:33 PM To: r-help Subject: [R] graph related question Dear All, I would like to draw a graph to illustrate the mapping between two vectors. For instance, a = c(2, 8, 5) ; mapped.a = c(8, 2, 5) I would like to get some picture as http

Re: [R] graph related question

2013-08-22 Thread Jim Lemon
On 08/23/2013 04:32 AM, Jie wrote: Dear All, I would like to draw a graph to illustrate the mapping between two vectors. For instance, a = c(2, 8, 5) ; mapped.a = c(8, 2, 5) I would like to get some picture as http://www.flickr.com/photos/96546690@N02/9569526581/ Basically, plot all points of

Re: [R] graph related question

2013-08-22 Thread David Winsemius
On Aug 22, 2013, at 4:17 PM, Jim Lemon wrote: On 08/23/2013 04:32 AM, Jie wrote: Dear All, I would like to draw a graph to illustrate the mapping between two vectors. For instance, a = c(2, 8, 5) ; mapped.a = c(8, 2, 5) I would like to get some picture as

[R] graph layout

2013-03-26 Thread Shane Carey
Hi, Is it possible to use par() within par()? Something like: par(mfcol=c(2,2),mar=c(4.5,4.5,2,2)) op - par(las=1,xaxs=r,mai=c(1,0.75,1,1)) plot(hist(x),main=,xlim=c(0,100),xaxt=n,yaxt=n,xlab=,ylab=,border=white) axis(1,at=c(0,20,40,60,80,100),line=-1,cex.axis=0.7,padj=-1.5) par(new=TRUE)

Re: [R] graph layout

2013-03-26 Thread Uwe Ligges
On 26.03.2013 14:49, Shane Carey wrote: Hi, Is it possible to use par() within par()? Something like: par(mfcol=c(2,2),mar=c(4.5,4.5,2,2)) op - par(las=1,xaxs=r,mai=c(1,0.75,1,1)) plot(hist(x),main=,xlim=c(0,100),xaxt=n,yaxt=n,xlab=,ylab=,border=white)

[R] Graph from Glantz

2013-03-06 Thread Angelo Scozzarella Tiscali
Hi, I'd like to draw a graph like this one from Stanton Glantz book, Primer of Biostatistics. Thanks Angelo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Graph from Glantz

2013-03-06 Thread John Kane
No link and/ no attached file. The list tends to strip most attachments to reduce virus attacks. John Kane Kingston ON Canada -Original Message- From: angeloscozzare...@tiscali.it Sent: Wed, 6 Mar 2013 19:53:18 +0100 To: r-help@r-project.org Subject: [R] Graph from Glantz Hi

[R] Saving R Graph to a file

2012-11-04 Thread frespider
in context: http://r.789695.n4.nabble.com/Saving-R-Graph-to-a-file-tp4648369.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] Saving R Graph to a file

2012-11-04 Thread R. Michael Weylandt
On Sun, Nov 4, 2012 at 4:16 AM, frespider frespi...@hotmail.com wrote: Hi I am not sure why I can't get my plot saved to a file as .ps, I searched online and I found that I have to use something is called postscript,png or pdf function which I did but still not working. Actually what I have

Re: [R] Saving R Graph to a file

2012-11-04 Thread John
On Sat, 3 Nov 2012 21:16:49 -0700 (PDT) frespider frespi...@hotmail.com wrote: You're leaving out some critical information like the error messages, if any, you receive. That said, your example won't work properly because it is not properly coded. FI'm sure it gets tiresome being told to read

Re: [R] Saving R Graph to a file

2012-11-04 Thread Robert Baer
in context: http://r.789695.n4.nabble.com/Saving-R-Graph-to-a-file-tp4648369.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Saving R Graph to a file

2012-11-04 Thread Robert Baer
) hist(CO2[,4]) Thanks -- View this message in context: http://r.789695.n4.nabble.com/Saving-R-Graph-to-a-file-tp4648369.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Saving R Graph to a file

2012-11-04 Thread Muhuri, Pradip (SAMHSA/CBHSQ)
:32 AM To: frespider Cc: r-help@r-project.org Subject: Re: [R] Saving R Graph to a file Some hints: For pdf(), height and width are in inches, not pixels. dev.off() is necessary after drawing the image for pdf(). The name for the file argument (file=c:/figure.xxx) is file not filename hist(CO2[,5

Re: [R] Saving R Graph to a file

2012-11-04 Thread frespider
? Thanks Date: Sun, 4 Nov 2012 02:39:13 -0800 From: ml-node+s789695n4648380...@n4.nabble.com To: frespi...@hotmail.com Subject: Re: Saving R Graph to a file On 11/4/2012 4:32 AM, Robert Baer wrote: Some hints: For pdf(), height and width are in inches, not pixels. dev.off() is necessary after

Re: [R] Saving R Graph to a file

2012-11-04 Thread R. Michael Weylandt
On Sun, Nov 4, 2012 at 1:18 PM, frespider frespi...@hotmail.com wrote: Hi guys, I really appreciated all your responds, I made mistake on my example below hwere I wrote device.off() where it should be dev.off(). I read all the help documnet for odf png and postscript before I posted my

Re: [R] Graph showing fitted values obtained by binomial GLM

2012-07-06 Thread linda.kate
Thank you Simon! -- View this message in context: http://r.789695.n4.nabble.com/Graph-showing-fitted-values-obtained-by-binomial-GLM-tp4635573p4635581.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] Graph showing fitted values obtained by binomial GLM

2012-07-05 Thread linda.kate
I have completed a binomial GLM in R (details attached (finalModel.docx)) and I am trying to create a graph of observed and fitted values using the following commands: MyData-data.frame(time=seq(from=0,to=1323,by=1)) Pred-predict(M2,newdata=MyData,type=response)

Re: [R] Graph showing fitted values obtained by binomial GLM

2012-07-05 Thread Simon Blomberg
You have size as well as time in your model M2. So your newdata (MyData) needs to have size in it too. Cheers, Simon. On 06/07/12 13:55, linda.kate wrote: I have completed a binomial GLM in R (details attached (finalModel.docx)) and I am trying to create a graph of observed and fitted values

Re: [R] graph from txt file

2012-07-01 Thread HIMANSHU MITTAL
Thanks a ton Regards Himanshu Mittal On Sat, Jun 30, 2012 at 11:42 PM, Rui Barradas ruipbarra...@sapo.pt wrote: Hello, The answer to the question is yes. But first a note. Your vertex ids start at 51 and the greater is 173. igraph vertices (and edges) are automatically numbered starting at

Re: [R] graph from txt file

2012-06-30 Thread Rui Barradas
Hello, Just set the attribute, V(g)$date - as.POSIXct(as.POSIXlt(rep(315522000, 6), origin=1970-01-01)) V(g)$date Rui Barradas Em 30-06-2012 04:26, HIMANSHU MITTAL escreveu: Thanks a lot. But i have one more doubt one of the attribute i have is time of edge formation id1,id2,label,time

Re: [R] graph from txt file

2012-06-30 Thread HIMANSHU MITTAL
Thanks a lot. Just one more question. me given the two node ids and the graph, can i find the corresponding edge attributes( date and label)? On Sat, Jun 30, 2012 at 2:10 PM, Rui Barradas ruipbarra...@sapo.pt wrote: Hello, Just set the attribute, V(g)$date -

Re: [R] graph from txt file

2012-06-30 Thread Rui Barradas
Hello, The answer to the question is yes. But first a note. Your vertex ids start at 51 and the greater is 173. igraph vertices (and edges) are automatically numbered starting at 1, in this latest package version. Previous versions vertex numbers were zero based. If you look online you will

[R] graph from txt file

2012-06-29 Thread HIMANSHU MITTAL
Hi all, I have a text file in which the graph info is stored as: node1 node2 attr1 attr2 where there is an edge b/w node12 and attr12 are edge atttributes is there any way to create a graph using such format in r? Regards, Himanshu Mittal [[alternative HTML version deleted]]

Re: [R] graph from txt file

2012-06-29 Thread Peter Ehlers
On 2012-06-29 10:28, HIMANSHU MITTAL wrote: Hi all, I have a text file in which the graph info is stored as: node1 node2 attr1 attr2 where there is an edge b/w node12 and attr12 are edge atttributes is there any way to create a graph using such format in r? The igraph package? Peter Ehlers

Re: [R] graph from txt file

2012-06-29 Thread HIMANSHU MITTAL
yes i would prefer igraph, but it can be any r package as long as it can create the graph On Fri, Jun 29, 2012 at 11:14 PM, Peter Ehlers ehl...@ucalgary.ca wrote: On 2012-06-29 10:28, HIMANSHU MITTAL wrote: Hi all, I have a text file in which the graph info is stored as: node1 node2 attr1

Re: [R] graph from txt file

2012-06-29 Thread Rui Barradas
Hello, Package igraph can create graphs. Example: dat - read.table(text= node1 node2 attr1 attr2 2 1 2 3 3 2 3 2 4 3 4 2 6 5 1 4 , header=TRUE) dat vertices - as.vector( t(dat[, 1:2]) ) g - graph(vertices, directed=FALSE) E(g)$weight - dat$attr1 E(g)$color - dat$attr2 plot(g,

Re: [R] graph from txt file

2012-06-29 Thread HIMANSHU MITTAL
Thanks a lot. But i have one more doubt one of the attribute i have is time of edge formation id1,id2,label,time 51,66,0,315522000 51,66,0,315522000 140,157,0,315522000 140,173,0,415522000 so is there any attribute for storing timestamps like for weight or color or if i store it in color would i

[R] graph with two different arithmetic scales

2012-06-27 Thread denissearchundia
hi i try to do a graph who shows 2 time series at the same time thanks! -- View this message in context: http://r.789695.n4.nabble.com/graph-with-two-different-arithmetic-scales-tp4634672.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] graph with two different arithmetic scales

2012-06-27 Thread R. Michael Weylandt
take a look at library(zoo) example(plot.zoo) which shows one way to do this, Best, Michael On Wed, Jun 27, 2012 at 6:50 PM, denissearchundia denissearchun...@yahoo.com.mx wrote: hi i try to do a graph who shows 2 time series at the same time thanks! -- View this message in context:

Re: [R] graph displays

2012-06-26 Thread MSousa
Good morning, Thanks for help. I can explain better what I am trying to do. I'm trying to read data from a file, separated by a tab, with the following code. Dataset-read.table(C:/Users/Administrator/Desktop/R/graph.txt,sep=\t, quote=\,header = TRUE) View(Dataset) dput(Dataset) View(Dataset)

Re: [R] graph displays

2012-06-26 Thread Jim Lemon
On 06/26/2012 06:24 PM, MSousa wrote: Good morning, Thanks for help. I can explain better what I am trying to do. I'm trying to read data from a file, separated by a tab, with the following code. Dataset-read.table(C:/Users/Administrator/Desktop/R/graph.txt,sep=\t, quote=\,header = TRUE)

Re: [R] graph displays

2012-06-26 Thread John Kane
: ricardosousa2...@clix.pt Sent: Tue, 26 Jun 2012 01:24:17 -0700 (PDT) To: r-help@r-project.org Subject: Re: [R] graph displays Good morning, Thanks for help. I can explain better what I am trying to do. I'm trying to read data from a file, separated by a tab, with the following code

[R] graph displays

2012-06-25 Thread MSousa
Good Afternoon, I'm trying to create a graph that displays the best way the following information.     For instance organized by bar graph, A, B, C Source X1000s X600s X500s X250s X100s X50s X10s X5s X3s X1s 1 A 476375 116 125 129 131 131 131 131 2 B 3764

Re: [R] graph displays

2012-06-25 Thread Sarah Goslee
There's no way we can tell you the best way to display your information, because we don't know anything about it. The best display method has a lot to do with what the data are, and what you're trying to illustrate. That said, here are two possibilities, one using the bar graph you requested, and

Re: [R] graph displays

2012-06-25 Thread John Kane
) To: r-help@r-project.org Subject: [R] graph displays Good Afternoon, I'm trying to create a graph that displays the best way the following information.     For instance organized by bar graph, A, B, C Source X1000s X600s X500s X250s X100s X50s X10s X5s X3s X1s 1 A 47

[R] Graph to visualize paired t test

2012-05-22 Thread jhartsho
http://r.789695.n4.nabble.com/file/n4630909/pfaff_fig1.gif I have run the statistics and found no significance in my pairwise t test. I want to create a graph similar to the one I included showing similar slopes/lines for my data points. For my data a correlation graph is not appropriate and

Re: [R] Graph to visualize paired t test

2012-05-22 Thread R. Michael Weylandt
If I understand what you are looking for, this should get you started: https://www.stat.math.ethz.ch/pipermail/r-help/2012-May/312287.html Michael On Tue, May 22, 2012 at 11:14 AM, jhartsho jhart...@uark.edu wrote: http://r.789695.n4.nabble.com/file/n4630909/pfaff_fig1.gif I have run the

Re: [R] Graph to visualize paired t test

2012-05-22 Thread Richard M. Heiberger
tmp - data.frame(A=sample(20,10), B=sample(20, 10)) with(tmp, t.test(A, B)) matplot(t(tmp), type=b) This does what you asked for. I don't understand the legend on your plot. For future queries, PLEASE do read the posting guide

[R] Graph digitisation / tracing

2012-01-28 Thread cpolwart
I want to take some published graphs and digitise them to allow me to run some analysis on them. Is this possible using any of R's plugins. I don't think it is but I never cease to be amazed at what R can do and it'd be great if it was as it would almost certainly be more powerful than doing

Re: [R] Graph digitisation / tracing

2012-01-28 Thread Sarah Goslee
Hi, On Sat, Jan 28, 2012 at 5:42 AM, cpolw...@wittongilbert.free-online.co.uk wrote: I want to take some published graphs and digitise them to allow me to run some analysis on them. You can do this manually with locator(), but it's more efficient to use something like ImageJ if you have a

Re: [R] Graph digitisation / tracing

2012-01-28 Thread Derek Ogle
I have successfully used the digitize package for this purpose ... http://cran.r-project.org/web/packages/digitize/index.html cpolw...@wittongilbert.free-online.co.uk wrote: I want to take some published graphs and digitise them to allow me to run some analysis on them. Is this possible

Re: [R] Graph Titles

2012-01-28 Thread chuck.01
Hard to help without a short example dataset (please read posting guide!) posted with dput(). You likely want to paste together a title for your graph. see ?paste Rambler1 wrote Another simple question that is driving me crazy: I have a for loop that loops through a matrix and pulls data

Re: [R] graph paper look

2012-01-23 Thread Greg Snow
PM To: r-help@r-project.org Subject: [R] graph paper look Dear R People: Short of doing a series of ablines, is there a way to produce graph paper in R please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown

Re: [R] graph paper look

2012-01-19 Thread David L Carlson
, 2012 7:19 PM To: r-help@r-project.org Subject: [R] graph paper look Dear R People: Short of doing a series of ablines, is there a way to produce graph paper in R please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston

  1   2   3   >