Re: [R] Multi-panel Pie Charts.

2010-03-24 Thread Gary Miller
Thanks for your reply Sharpie. I completely understand that it may not be the best to go with muti-panel pie charts, but my group would like to have this utility along with barplot/dotplot (may be, using it for proportions data). Thanks, ~Gurmeet On Wed, Mar 24, 2010 at 3:38 PM, Sharpie

Re: [R] Multi-panel Pie Charts.

2010-03-24 Thread Gary Miller
Gurmeet and I are looking for such utility. It could be helpful! On Wed, Mar 24, 2010 at 3:46 PM, Gary Miller mail2garymil...@gmail.comwrote: Thanks for your reply Sharpie. I completely understand that it may not be the best to go with muti-panel pie charts, but my group would like to have

[R] print() / split()

2010-02-11 Thread Gary Miller
Hi All, Can anyone please tell me what is the meaning of four coordinates in below print statement. Currently its dividing plotting window into 1 X 2 and I want to change it to 2 X 2 [ equivalent of par(mfrow=c(2,2)) ]. Thanks, require(lattice) p1=barchart(yield ~ variety | site, data = barley,

Re: [R] Can you delete me from the list I don't want to receive the emails from the forum anymore, thank you!

2009-12-20 Thread Gary Miller
A couple of week back someone posted this. It applies to you too: None of the people reading this at the moment can do this for you. Read the information on the page where you subscribed.: https://stat.ethz.ch/mailman/listinfo/r-help Q: How many psychiatrists does it take to unscrew a light

Re: [R] DROP and KEEP statements in R

2009-12-19 Thread Gary Miller
Try this, library(lattice) data(barley) names(barley) # Removing first column barley - barley[,c(-1)] names(barley) # Keeping 1st and 3rd column barley - barley[,c(1,3)] names(barley) HTH, Gary On Sat, Dec 19, 2009 at 3:21 PM, sarjin...@yahoo.com wrote: What is equivalent to DROP or KEEP

Re: [R] ggplot2 / lattice

2009-12-18 Thread Gary Miller
, Dec 17, 2009 at 11:01 PM, Felix Andrews fe...@nfrac.org wrote: Look at ?panel.bwplot specifically 'fill', 'pch', and 'box.width'. 2009/12/18 Gary Miller mail2garymil...@gmail.com: @ Gabor: Thanks, it worked. @ All: Which options I should explore to change the appearance of boxes. Like

[R] ggplot2 / lattice

2009-12-17 Thread Gary Miller
Hi R Users, Is there a equivalent function for the following R code in Lattice package. I want to plot a grouped box plots (grouped by two factors). g - rep.int(c(A, B, C, D), 125) t - rnorm(5000) a - sample(t, 500, replace=TRUE) b - sample(t, 500, replace=TRUE) dta - data.frame(val =

Re: [R] ggplot2 / lattice

2009-12-17 Thread Gary Miller
ggrothendi...@gmail.com wrote: Try this: bwplot(val ~ g | G2, dta) On Thu, Dec 17, 2009 at 9:34 PM, Gary Miller mail2garymil...@gmail.com wrote: Hi R Users, Is there a equivalent function for the following R code in Lattice package. I want to plot a grouped box plots (grouped by two

[R] re-ordering x-lables using barchart()

2009-12-08 Thread Gary Miller
Hi R Users, I'm trying to re-order the site names (Waseca, Morris, ...). I'm using following code: libarry(lattice) barchart(yield ~ variety | site, data = barley, groups = year, layout = c(6,1), aspect=.7, ylab = Barley Yield (bushels/acre), scales =

Re: [R] re-ordering x-lables using barchart()

2009-12-08 Thread Gary Miller
Department of Statistics UC Berkeley spec...@stat.berkeley.edu On Tue, 8 Dec 2009, Gary Miller wrote: Hi R Users, I'm trying to re-order the site names (Waseca, Morris

Re: [R] SAS datalines or cards statement equivalent in R?

2009-12-06 Thread Gary Miller
On Sat, Dec 5, 2009 at 8:11 PM, Gary Miller wrote: Hi R Users, Is there a equivalent command in R where I can read in raw data? For example I'm looking for equivalent R code for following SAS code: DATA survey; INPUT id sex $ age inc r1 r2 r3 ; DATALINES; 1 F 35 17 7 2 2 17

Re: [R] barchart() {lattice} help.

2009-12-06 Thread Gary Miller
Thanks Uwe, I got your suggestions part too. 2009/12/6 Uwe Ligges lig...@statistik.tu-dortmund.de Peng Cai wrote: Hi, I'm plotting grouped barplot using following code and data. I need help with re-ordering the labels. 1. On x-axis the factor AGE is grouped in order 0--4, 15--18,

[R] SAS datalines or cards statement equivalent in R?

2009-12-05 Thread Gary Miller
Hi R Users, Is there a equivalent command in R where I can read in raw data? For example I'm looking for equivalent R code for following SAS code: DATA survey; INPUT id sex $ age inc r1 r2 r3 ; DATALINES; 1 F 35 17 7 2 2 17 M 50 14 5 5 3 33 F 45 6 7 2 7 49 M 24 14 7 5 7 65 F