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
Hi Andy, Nice plot but yes, probably not exactly what you want. Thanks for providing the code. The nextthing you need to do is to send us some data to go with the code. There is a very handy function called dput() , which converts a dataset into a format that you can just copy from your R t

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 = '+'

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