Re: [R] Grouped Boxplot

2014-07-14 Thread S Ellison
> I want to plot "boxplots" in such a way that DISO is on y-axis and the > NODE_CAT is grouped according to POS. If I were to plot the above > mentioned case I should get three groups of boxplots A, B, and C. Also each > of the POS A, B and C should have two boxplots (one for Hubs and one for > Non

Re: [R] Grouped Boxplot

2014-07-11 Thread Jorge I Velez
Dear Anupam, Try boxplot(DISO ~ POS * NODE_CAT, data = yourdata) Another option would be the last example in ?boxplot HTH, Jorge.- On Fri, Jul 11, 2014 at 4:38 PM, anupam sinha wrote: > Dear all, > I need some help with plotting boxplots in groups. I have a > file of the followin

[R] Grouped Boxplot

2014-07-11 Thread anupam sinha
Dear all, I need some help with plotting boxplots in groups. I have a file of the following format: - POS DISONODE_CAT -- A20Hubs C30Nonhubs B50

Re: [R] Grouped Boxplot

2009-11-26 Thread Richard M. Heiberger
The grouped boxplot is one of the features included in the HH package. An example is posted on my site http://astro.ocis.temple.edu/~rmh/HH/bwplot-color.pdf Reconstructing Figure 3 in your file GroupedBoxplot.pdf from your 11/24/2009 10:35 AM email would be easy. __

Re: [R] Grouped Boxplot

2009-11-26 Thread Gary
Thanks Petr! On Thu, Nov 26, 2009 at 12:31 AM, Petr PIKAL wrote: > Hi > > r-help-boun...@r-project.org napsal dne 24.11.2009 18:44:43: > > > Back in March Soren Vogel asked exactly the same thing: > > > > Here is the solution that was offered then. (He offered a dataset as > > requested in the P

Re: [R] Grouped Boxplot

2009-11-25 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 24.11.2009 18:44:43: > Back in March Soren Vogel asked exactly the same thing: > > Here is the solution that was offered then. (He offered a dataset as > requested in the Posting Guide.) ... with only a minor adjustment: > > g <- rep.int(c("A", "B",

Re: [R] Grouped Boxplot

2009-11-24 Thread David Winsemius
Back in March Soren Vogel asked exactly the same thing: Here is the solution that was offered then. (He offered a dataset as requested in the Posting Guide.) ... with only a minor adjustment: g <- rep.int(c("A", "B", "C", "D"), 125) t <- rnorm(5000) a <- sample(t, 500, replace=TRUE) b <- sam

Re: [R] Grouped Boxplot

2009-11-24 Thread Uwe Ligges
Gary wrote: Hi R Users, I'm interested in plotting a grouped boxplot (please see attached file for sample). Can anyone suggest a function{package} which can help me achieve this. Your attachment did not pass the list's filters. Anyway, see ?boxplot. Uwe Ligges Thanks, Gary ---

[R] Grouped Boxplot

2009-11-23 Thread Gary
Hi R Users, I'm interested in plotting a grouped boxplot (please see attached file for sample). Can anyone suggest a function{package} which can help me achieve this. Thanks, Gary __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinf

Re: [R] Grouped Boxplot

2009-03-04 Thread Richard M. Heiberger
## you may need to ## install.packages("HH") library(HH) tmp <- data.frame(y=rnorm(500), g=rep.int(c("A", "B", "C", "D"), 125), a=factor(rbinom(500, 1, .5))) bwplot(y ~ g | a, data=tmp) bwplot(y ~ a | g, data=tmp) tmp$ga <- with(tmp, interaction(a, g)) posi

Re: [R] Grouped Boxplot

2009-03-04 Thread David Winsemius
Q1: See if this seems any better. I took the liberty of reconstruction your initial example in a longer dataframe: dta <- data.frame(val = sample(t,1000), g = gl(4, 250, labels=c("A", "B", "C", "D")) , G2 = gl(2,1, labels=c("XX", "YY"))) #arguments to data.frame are recycled so one does no

[R] Grouped Boxplot

2009-03-04 Thread soeren . vogel
Pls forgive me heavy-handed data generation -- newby ;-) ### start ### # example data g <- rep.int(c("A", "B", "C", "D"), 125) t <- rnorm(5000) a <- sample(t, 500, replace=TRUE) b <- sample(t, 500, replace=TRUE) # what I actually want to have: boxplot(a | b ~ g) # but that does obviously not pr