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
-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...
I have a dataset called 'eagle
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
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,
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 =
...@hotmail.com
Sent: Wed, 15 Aug 2012 09:52:36 -0700 (PDT)
To: r-help@r-project.org
Subject: Re: [R] boxplot help
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
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 = +)
But, I
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 = '+')
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 values..I
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
10 matches
Mail list logo