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
> -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.
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
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 = '+'
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 = "+")
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
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
11 matches
Mail list logo