|
Dear R group,
I am trying to plot uisng a for loop. Here is the script: for (i in unique(cfn$ID)){ plot(cfn$TIME[cfn$ID==i],cfn$DV[cfn$ID==i],pch=16)} I could access only the last plot of the series and cannot go back to see all the plots. I appreciate your help in resolving this issue and also please suggest how I can export the plots as a pdf or other format files for publication purposes. Regards, Ayyappa [[alternative HTML version deleted]] ______________________________________________ [hidden email] 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. |
|
On Aug 29, 2011, at 6:03 PM, Ayyappa Chaturvedula wrote: > Dear R group, > > I am trying to plot uisng a for loop. Here is the script: > for (i in unique(cfn$ID)){ > plot(cfn$TIME[cfn$ID==i],cfn$DV[cfn$ID==i],pch=16)} > > I could access only the last plot of the series and cannot go back > to see > all the plots. I appreciate your help in resolving this issue and > also > please suggest how I can export the plots as a pdf or other format > files for > publication purposes. "dev.off -- David Winsemius, MD West Hartford, CT ______________________________________________ [hidden email] 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. |
|
In reply to this post by Ayyappa Chaturvedula
Dear Group,
Can you help me solve the problem with calculating Time Post dose using date time fomat? Here is information for subject 1 and I appreciate your help for code to generate time post dose from the first dose in each individual. Thank you in advance. Regards, Ayyappa ID DATE TIME 1 2/25/2010 14:51 1 2/26/2010 20:26 1 2/27/2010 9:00 1 2/27/2010 21:34 1 2/28/2010 8:18 1 2/28/2010 21:00 1 3/1/2010 9:00 1 3/1/2010 9:20 [[alternative HTML version deleted]] ______________________________________________ [hidden email] 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. |
|
Hello, I have downloaded "graph" package from http://www.bioconductor.org/packages/release/bioc/html/graph.html Is there anyone who can teach me how to install "graph" into R? Thanks [[alternative HTML version deleted]] ______________________________________________ [hidden email] 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. |
|
In reply to this post by Ayyappa Chaturvedula
Could you repaste your data using dput() so we can see exactly what we are
working with here. As things stand currently, I can't tell why it doesn't suffice to just combine the dates and times into POSIX objects and subtract them all from the first row. For more information on that approach, try ?as.POSIXct from the base package. Hope this helps, Michael Weylandt On Sat, Sep 17, 2011 at 10:39 PM, Ayyappa Chaturvedula <[hidden email]>wrote: > Dear Group, > > Can you help me solve the problem with calculating Time Post dose using > date > time fomat? Here is information for subject 1 and I appreciate your help > for code to generate time post dose from the first dose in each individual. > > > Thank you in advance. > > Regards, > Ayyappa > > ID DATE TIME 1 2/25/2010 14:51 1 2/26/2010 20:26 1 2/27/2010 > 9:00 1 2/27/2010 21:34 1 2/28/2010 8:18 1 2/28/2010 21:00 1 3/1/2010 > 9:00 1 3/1/2010 9:20 > > [[alternative HTML version deleted]] > > ______________________________________________ > [hidden email] 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. > [[alternative HTML version deleted]] ______________________________________________ [hidden email] 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. |
|
In reply to this post by Sandy Mitchell
Hi Sandy,
This might help: http://stackoverflow.com/questions/1474081/how-do-i-install-an-r-package-from-source Best, Reza [[alternative HTML version deleted]] ______________________________________________ [hidden email] 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. |
|
In reply to this post by Sandy Mitchell
On Sep 17, 2011, at 10:45 PM, Sandy Mitchell wrote: > > Hello, > > > I have downloaded "graph" package from http://www.bioconductor.org/packages/release/bioc/html/graph.html > > Is there anyone who can teach me how to install "graph" into R? > What happens when you follow the instructions on that page? (They are right at the top.) -- David Winsemius, MD West Hartford, CT ______________________________________________ [hidden email] 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. |
| Powered by Nabble | Edit this page |
