dates) , temp, fill = factor(roof))) +
geom_boxplot(statistic = "identity") +
ylab("Temperature") + xlab("Months") +
scale_fill_hue(name="Roof\nType") +
facet_grid( year ~ .)
p
# ===
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
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,
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
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
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 = '+'
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
>
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
8 matches
Mail list logo