Re: [R] boxplot help

2012-08-15 Thread John Kane
dates) , temp, fill = factor(roof))) + geom_boxplot(statistic = "identity") + ylab("Temperature") + xlab("Months") + scale_fill_hue(name="Roof\nType") + facet_grid( year ~ .) p # ===

Re: [R] boxplot help

2012-08-15 Thread Rui Barradas
Hello, I'm not sure wether this is what you want, but here it goes. dd <- structure( ...etc... ) # your dataset # make group identifiers ym <- paste(dd$Year, as.character(dd$Month), sep="-") op <- par(las=2) # make labels perpendicular to axis bp <- boxplot(Temp ~ ym, data=dd) axis(1, at = se

Re: [R] boxplot help

2012-08-15 Thread andyspeak
hi thanks the dput output is... structure(list(Year = c(2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L,

Re: [R] boxplot help

2012-08-15 Thread Richard M. Heiberger
Hi, I recommend the use of panel.bwplot.intermediate.hh in the HH package. This is a lattice function. Lattice usually gives you more control than base graphics. I build your example in several steps here. Critical items to notice: You must declare the months to be ordered; by default they are s

Re: [R] boxplot help

2012-08-15 Thread John Kane
> -Original Message- > From: freakyspe...@hotmail.com > Sent: Wed, 15 Aug 2012 05:34:55 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] boxplot help > > Hi, im a newbie with very wobbly coding abilities. > Tearing my hair out over getting the boxplot i want.

[R] boxplot help

2012-08-15 Thread andyspeak
Hi, im a newbie with very wobbly coding abilities. Tearing my hair out over getting the boxplot i want... I have a dataset called 'eagle' which consists of year (2011 or 2012), month (jan - dec), roof (TT6, TT13 or BARE) and temp (the continuous variable that i want to plot). So i want boxplots of

Re: [R] boxplot help

2010-01-06 Thread Dennis Murphy
Hi: Try this: First put your data into a data frame (it's not necessary, but it's easier) ol <- data.frame(grp = grp, size = size) boxplot(size ~ grp, data = ol, style = 'att', medpch = "o", ylab = "Prostate Volume (cm3)") mns <- with(ol, tapply(size, grp, mean)) points(1:5, mns, pch = '+'

[R] boxplot help

2010-01-06 Thread oscar linares
Dear Rexperts, I am trying to add a '+' identifying the mean in a boxplot using the following sizelist <- split(size, grp) centers <- boxplot(sizelist, style.bxp = "att", medpch = "o", ylab = "Prostate Volume (cm3)") points(centers, unlist(lapply(sizelist, mean)), pch = "+")

Re: [R] boxplot help

2008-08-03 Thread Bernardo Rangel Tura
Em Sex, 2008-08-01 às 14:16 -0700, Rajasekaramya escreveu: > hi > > I have list of matrix of lenggth 61 containg the mean values..I want to make > a boxplot for each of the matrix. > I used a for loop but i cant figure out the way to save in the boxplots > > > all.the.mean > [[1]] > mean > 0.5 >

Re: [R] boxplot help

2008-08-02 Thread jim holtman
Save them to a file in your favorite format (I like PDF): pdf('yourfile.pdf') for(i in 1:length(all.the.mean) { boxplot(all.the.mean[[i]] } dev.off() On Fri, Aug 1, 2008 at 5:16 PM, Rajasekaramya <[EMAIL PROTECTED]> wrote: > > hi > > I have list of matrix of lenggth 61 containg the mean value

[R] boxplot help

2008-08-01 Thread Rajasekaramya
hi I have list of matrix of lenggth 61 containg the mean values..I want to make a boxplot for each of the matrix. I used a for loop but i cant figure out the way to save in the boxplots > all.the.mean [[1]] mean 0.5 o.6 0.8 [[2]] 0.6 0.6 0.9 now i want the boxplot for each of the matrix in a se