[R] Does anybody know how to control the appearance of the end of the line in lattice?

2010-08-08 Thread George Chen
) Source-data.frame(Source) xyplot(y2+y1~x, data=Source, distribute.type=TRUE, type=c(h,h), col=c(black,white), lwd=20) graphics.off() Thanks. George Chen __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Is it possible to rearrange the facets in ggplot while keeping everything else the same?

2010-05-09 Thread George Chen
To: George Chen glc...@stanford.edu Cc: r-help@r-project.org Sent: Saturday, May 8, 2010 9:38:07 PM Subject: Re: [R] Is it possible to rearrange the facets in ggplot while keeping everything else the same? Hi: I'm not sure this is what you're looking for, but it sounds to me that you want

[R] Is it possible to rearrange the facets in ggplot while keeping everything else the same?

2010-05-08 Thread George Chen
and the Nos to Ab are together while keeping the same labeling? Thanks in advance. George Chen __ 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.org/posting-guide.html

[R] How do I plot geoms in parallel in ggplot

2010-05-06 Thread George Chen
Hello, I am new to ggplot. Please forgive my ignorance! I have patient data such that each individual is a row and then the attributes are in columns. So for example: SubjTimeHeightWeightWBCPlt 11944150 1

Re: [R] R-help Digest, Vol 87, Issue 6

2010-05-06 Thread George Chen
Hello, I am new to ggplot. Please forgive my ignorance! I have patient data such that each individual is a row and then the attributes are in columns. So for example: SubjTimeHeight Weight WBC Plt 1 1 9 4 4 150 1 2 10 5 6

[R] How to change a venn command into a named object that can be plotted like a lattice object

2010-02-22 Thread George Chen
Hello, I am plotting data as a venn diagram but would like to be able to control how it is plotted like a lattice object. Right now, it plots right away. I would like to name it and then plot at will. I thought to convert the whole thing to a PostScript file then get it back into R via

[R] How do I juxtapose two lattice graphs with common X axes such that the X axes line up?

2010-01-20 Thread George Chen
Hello, I would like to juxtapose two lattice graphs with common X axes such that the X axes line up. I am using plot right now but the edges are not neat and it would be nice if I could just draw 1 X axis and not both of them. Here is my code:

[R] How can I use event.chart (Hmisc) to work with a single row of data?

2009-09-30 Thread George Chen
, George Chen __ 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.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Drawing schematics

2009-05-28 Thread George Chen
Hi, I would like to represent the treatment course of a subject with an arrow representing passage through time and various ticks, arrows, or bars representing treatments done to the patient along the arrow. I would like to generate this sort of schematic for each patient in a database taking

[R] making an Affybatch object for expresso

2009-05-07 Thread George Chen
Hi All, I have microarray data that does not come in a CEL file. Currently it is in the form of columns = individual samples and rows = individual probes. There are about 79 columns and it is in a tab delimited text file. Is there a way to convert this file into an AffyBatch so that I can

[R] problem with normalize.quantiles

2009-05-07 Thread George Chen
Hi All, I am using normalize.quantiles (package preprocessCore) to process a 8300 row x 96 col matrix, all numerical data. When I limit the input matrix to 8300 x 67, the function works fine and my data is normalized. But when I increase the input matrix size to 8300 x 68, the function

[R] Two different scales for the same axis in the same plot.

2009-04-10 Thread George Chen
to present my data such that the range from 0 to 7 takes up a smaller amount of space on the graph compared to the range from 7 to 10 so that I can see more of the details in 7 to 10? Thanks in advance, George Chen __ R-help@r-project.org mailing list

[R] Question about plotting data points in box plots

2009-02-07 Thread George Chen
about the vertical rather than have them show up all on one vertical axis? Thanks in advance, George Chen __ 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.org/posting

[R] question about running multiple R windows

2009-02-04 Thread George Chen
Hello, I use R on a Microsoft Windows machine. Is it possible for me to open multiple windows of R, have them run the same program but for different data sets, and get accurate results? It takes 8+ hours to run the program so I want to multitask as much as possible. Thanks in advance, George

[R] How do I find the index for a value in an array

2009-01-03 Thread George Chen
Hello, Could anybody tell me how to find the index for a value which I define in an array? ie. c-matrix(1:9,1,9) #A 1x9 matrix filled with numbers 1 - 9 in order I want to know the index for the value 5. Thanks in advance, George Chen __ R-help@r

[R] How do I plot multiple XY plots on the same graph

2009-01-01 Thread George Chen
Hello, I have multiple data sets I would like to plot on the same XY scatterplot. The data sets have in common the same Y values. Could somebody tell me how to do this? I tried par(T=new) (I think this was it) but it literally overlays plots on each other. Thanks in advance. George