Antje niederlein-rstat at yahoo.de writes:
I've just discovered that the following code leads to boxplot
(surprisingly to me).
Can anybody explain to me why? Is this documented somewhere? I've never
consider this option before.
x - rnorm(300)
l - c(rep(label1,100), rep(label2,50),
Hi,
thank you both for your response.
I don't want to do anything like this - I just got some code like this from
someone else and was wondering about the result.
I would have used another approach to create a boxplot like this...
Ciao,
Antje
[EMAIL PROTECTED] schrieb:
hi: i'm not well
Hi,
Antje niederlein-rstat at yahoo.de writes:
Hi folks,
I've just discovered that the following code leads to boxplot
(surprisingly to me).
Can anybody explain to me why? Is this documented somewhere? I've never
consider this option before.
x - rnorm(300)
l - c(rep(label1,100),
Hi folks,
I've just discovered that the following code leads to boxplot (surprisingly to
me).
Can anybody explain to me why? Is this documented somewhere? I've never
consider this option before.
x - rnorm(300)
l - c(rep(label1,100), rep(label2,50), rep(label3,150))
df -
I want to make illustrations a la boxplot for a data material with
several groups. Some of the groups are very small, so a boxplot
doesn't make sense. I would like to use stripchart for these groups.
On the other hand, some of the groups are very large, so for them
stripchart isn't so good. So my
Göran Broström wrote:
I want to make illustrations a la boxplot for a data material with
several groups. Some of the groups are very small, so a boxplot
doesn't make sense. I would like to use stripchart for these groups.
On the other hand, some of the groups are very large, so for them
I want the levels to appear in the boxplot instead of 1 and 2. What do I need
to do for that? Here is the dummy code.
x-runif(100,50,80)
x1-runif(100,70,80)
True.positives-c(x,x1)
splice-factor(c(rep(Human.AA.200,100),rep(Human.AA.100,100)))
Dear Murlidharan,
See argument 'names' in ?boxplot. In your case, it is:
boxplot(True.positives~splice,data=svm.perf, ylab=True
positives,names=levels(splice))
HTH,
Jorge
On Tue, Sep 16, 2008 at 4:09 PM, Nair, Murlidharan T [EMAIL PROTECTED] wrote:
I want the levels to appear in the
Sorry, I have some troubles with the graph device.
How can I draw the whiskers in a boxplot?
Thank's so much.
Daniela
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Daniela Garavaglia wrote:
Sorry, I have some troubles with the graph device.
How can I draw the whiskers in a boxplot?
1. Whiskers in a boxplot are independent of the device.
2. I do see whiskers, e.g. in
boxplot(1:10)
so I do not undertsnad your question at all.
Uwe Ligges
Perhaps your data does not have whiskers?
x - c(4,5,6,4,5,6,4,5,6,4,5,6)
boxplot(x) # No whiskers
boxplot(1:10) # whiskers
--- On Thu, 9/11/08, Daniela Garavaglia [EMAIL PROTECTED] wrote:
From: Daniela Garavaglia [EMAIL PROTECTED]
Subject: [R] boxplot
To: r-help@r-project.org
Received
I have been trying to use R to gather some information from parsed log
files (as part of examining some performance issues). I parsed the
log files and put the data into an SQLite database, and then used
RSQLite to load the data into R. The fields of interest are
controller, action and
Coey Minear cminear at securecomputing.com writes:
I have been trying to use R to gather some information from parsed log
files (as part of examining some performance issues). I parsed the
log files and put the data into an SQLite database, and then used
RSQLite to load the data into R.
Sherri;
The boxplot stats include outlier values in $out and their group number
in $group.
Let me assume that you want to put the boxes at integer positions on
the x-axis (the default is the same). The we have
y-rnorm(60)
g-gl(3,20)
labels=paste(Value, 1:length(y))
bx-boxplot(y~g)
bx.at-1:3
:[EMAIL PROTECTED] On Behalf Of Sherri Heck
Sent: Tuesday, September 02, 2008 3:38 PM
To: r-help@r-project.org
Subject: [R] boxplot - label outliers
Hi All-
I have 24 boxplots on one graph. I do not have the whiskers
extending to the outliers, but I would like to label the
maximum value of each
Hi All-
I have 24 boxplots on one graph. I do not have the whiskers extending
to the outliers, but I would like to label the maximum value of each
outlier above the whiskers. I have the stats but am having trouble
figuring out how to label the whiskers.
Any suggestions would be great!
]
[mailto:[EMAIL PROTECTED] On Behalf Of Sherri Heck
Sent: Tuesday, September 02, 2008 3:38 PM
To: r-help@r-project.org
Subject: [R] boxplot - label outliers
Hi All-
I have 24 boxplots on one graph. I do not have the whiskers
extending to the outliers, but I would like to label the
maximum
02, 2008 3:38 PM
To: r-help@r-project.org
Subject: [R] boxplot - label outliers
Hi All-
I have 24 boxplots on one graph. I do not have the whiskers
extending to the outliers, but I would like to label the
maximum value of each outlier above the whiskers. I have the
stats but am having trouble
, September 02, 2008 5:11 PM
To: Greg Snow
Cc: r-help@r-project.org
Subject: Re: [R] boxplot - label outliers
Hi Greg,
I have the values of the outliers from the boxplot stats. I am just
having a difficult time adding the values to the plot in the appropriate
places.
Hope this is clearer.
Thanks!
sherri
Hi,
I'm new to the whole R-thing as a replacement for Matlab, not disappointed
sofar ;)
I found out how to make nice looking boxplots, but i also would like the make a
boxplot with 5% and 95% instead of the standard 25 and 75% quantiles.
My csv input looks something like:
LOCATION
Joris,
I found this (http://ceae.colorado.edu/~balajir/r-session-files/) on the web.
It will do exactly what you want. Get the files:
myboxplot-stats.r
myboxplot.r
Leesferry-mon-data.txt = example data
The usage is:
#Boxplots
#Source the ‘myboxplot’ codes from Balaji’s directory.
Joris Meijerink wrote:
Hi,
I'm new to the whole R-thing as a replacement for Matlab, not disappointed
sofar ;)
I found out how to make nice looking boxplots, but i also would like the make a
boxplot with 5% and 95% instead of the standard 25 and 75% quantiles.
My csv input looks something
Hadley makes a good point. Boxplots should be standardized. Thre is already
inconsistency in what value the wiskers represent.
Violin plots with means and 95% CI are a good option if you want to show the
shape of a distribution with the mean. You could add the median as well.
That's what I did
I really like the ease of use with the boxplot command in R. I would
rather have a boxplot that shows the average value and the standard
deviation then the median value and the quartiles.
Is there a way to do this?
Chad Junkermeier, Graduate Student
Dept. of Physics
West Virginia
Use bxp() and feed it with data that is not from boxplot.stats().
Therefore you might want to invent some alternative function along the
lines of boxplot.stats().
Uwe Ligges
Chad Junkermeier wrote:
I really like the ease of use with the boxplot command in R. I would
rather have a boxplot
boxplot itself is hardwired to produce the boxplot.stats list, and that
is not easy to change.
To get a different set of stats, you would need to do things in rwo
stages:
i) create a boxplot object of the type returned by boxplot, but using
your own stats
ii) call bxp on that object.
That's kind
Another option is to modify panel.bpplot in the Hmisc package and specify
library(lattice)
bwplot(..., panel=mypanel)
Note that panel.bpplot will show the mean. It shows more quantiles than
a standard box plot so you get more than a 3-number summary.
If you show the mean and standard
Look at this disscussion from two weeks ago:
http://www.nabble.com/adding-the-mean-and-standard-deviation-to-boxplots-td15271398.html
Chad Junkermeier wrote:
I really like the ease of use with the boxplot command in R. I would
rather have a boxplot that shows the average value and the
On Mon, Aug 4, 2008 at 10:36 PM, Chad Junkermeier [EMAIL PROTECTED] wrote:
I really like the ease of use with the boxplot command in R. I would rather
have a boxplot that shows the average value and the standard deviation then
the median value and the quartiles.
I would suggest that you don't
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
Hello everyone,
I am trying to color two boxplots on the same graph two
different colors.
I have tried the following
boxplot(5,1:19,5,20:39,col=c(red,blue))
but all I get are two blue boxes.
Any help would be appreciated
Paul
[[alternative HTML version deleted]]
You are drawing four box plots, not two. Two of them are just the number 5.
The two box plots that are only 5 don't have a box, so you can't see that
they're red. Try this:
boxplot(1:19,20:39,col=c(red,blue))
Paul Adams-8 wrote:
Hello everyone,
I am trying to color two boxplots on the
Hello everyone,
I am trying to plot a boxplot but am coming up with the error :
could not find function dat I have used the following code.
dat-read.table(file=C:\\Documents and
Settings\\...txt,header=T,row.names=1,blank.lines.skip=F,na.strings=NA)
file.show(file=C:\\Documents and
What is this statement supposed to do:
gc-dat(1:19)
You are trying to call the function 'dat' with a vector of 19 values.
Is this what you intended? If the function 'dat' does not exist,
that is why you are getting the error.
On Sat, Jun 21, 2008 at 2:46 AM, Paul Adams [EMAIL PROTECTED]
I would like to add another axis on side 4 (see code below)
#order the box plot any damn way I want too
order1 - factor(as.character(x$Site),
levels=c(Betty's Branch, Stevens Creek,
North Augusta, 520, Horse Creek, Stan's, place,Downstream,
IP, Vogtle, 301, Clyo))
Hi all!
So far I learned some R but finilizing my plots so they look
publishable seems not to be possible.
I set up some boxplots. Everything works well but when I put more then
two of them in one plot the labels of the axes appear smaller than the
normal font size.
x - rnorm(30)
y -
Please read the help for par(mfrow)! AFAICS this is nothing to do with
boxplot().
In a layout with exactly two rows and columns the base value
of 'cex' is reduced by a factor of 0.83: if there are three
or more of either rows or columns, the reduction factor is
] On Behalf Of Birgit Lemcke
Sent: Thursday, May 29, 2008 6:05 AM
To: Gabor Grothendieck
Cc: R Hilfe
Subject: Re: [R] boxplot with text and symbols on x
Thanks that was a huge help.
Now I am using this:
pdf(InfLengMaxVarHomogeneity.pdf)
plot(inflorescence_length_Max~Sex,xaxt=n #unterdrückt
Cc: R Hilfe
Subject: Re: [R] boxplot with text and symbols on x
Thanks that was a huge help.
Now I am using this:
pdf(InfLengMaxVarHomogeneity.pdf)
plot(inflorescence_length_Max~Sex,xaxt=n #unterdrückt
normale x- Achse , ylab=inflorescence length max,
main=Bartletts Homogeneity
See R News 6/2.
On Thu, May 29, 2008 at 8:04 AM, Birgit Lemcke
[EMAIL PROTECTED] wrote:
Thanks that was a huge help.
Now I am using this:
pdf(InfLengMaxVarHomogeneity.pdf)
plot(inflorescence_length_Max~Sex,xaxt=n #unterdrückt normale x-Achse
, ylab=inflorescence length max, main=Bartletts
Hello R-user community!
I am running R 2.7.0 on a Power Book (Tiger). (I am still R and
statistics beginner)
I did the following :
pdf(InLnegthMaxHomogeneity.pdf)
boxplot(inflorescence_length_Max~Sex, main=Bartletts Homogeneity for
inflorescence length,data=FemMal_Sex)
1. See ?locator
2. Try this:
plot(1:2, pch = c(\u2640, \u2642))
On Thu, May 29, 2008 at 4:40 AM, Birgit Lemcke
[EMAIL PROTECTED] wrote:
Hello R-user community!
I am running R 2.7.0 on a Power Book (Tiger). (I am still R and statistics
beginner)
I did the following :
Hi there,
assume that you have data with different sampling like
d1 - rnorm(100)
d2 - rnorm(150)
now, I'd like to create two boxplots in one graph but each plot located at the
sampling number at the x-axis. This, I can do with at
l - list(d1,d2)
boxplot(l, at=c(length(d1), length(d2)),
Hi Antje,
Try this:
d1 - rnorm(100)
d2 - rnorm(150)
boxplot(c(d1,d2) ~ rep(c(1,2),c(100,150)),col=c(4:5))
HTH,
Jorge
On Fri, May 23, 2008 at 11:52 AM, Antje [EMAIL PROTECTED] wrote:
Hi there,
assume that you have data with different sampling like
d1 - rnorm(100)
d2 - rnorm(150)
now,
Hello,
I am a new user to R and have a(proabably very basic) question relating to
a boxplot with eleven sites in a river system where i measured Chlorophyll a
concentrations.
The eleven sites are made up of three sites above a point source pollution
site; three sites below this pollution
-help@r-project.org
Subject: [R] boxplot tick locations
hi all-
i am creating a boxplot and would like to shift the x-axis
tick marks (named 1:23) so that the ticks are in between the
boxes and not centered in the middle of the boxes. i have
searched the help files and google and have
hi all-
i am creating a boxplot and would like to shift the x-axis tick marks
(named 1:23) so that the ticks are in between the boxes and not centered
in the middle of the boxes. i have searched the help files and google
and have not found what i am looking for.
does anyone know how to do
Heck
Sent: Tuesday, 15 April 2008 9:32 a.m.
To: r-help@r-project.org
Subject: [R] boxplot tick locations
hi all-
i am creating a boxplot and would like to shift the x-axis
tick marks (named 1:23) so that the ticks are in between the
boxes and not centered in the middle of the boxes. i
Here is a variation in which the sample sizes appear under the
labels:
set.seed(1)
y - rnorm(50)
x - factor(sample(letters[1:5], 50, replace = TRUE))
bp - boxplot(y ~ x, varwidth = TRUE)
mtext(paste((n=, bp$n, ), sep = ), at = seq_along(bp$n), line =
2, side = 1)
On Jan 30, 2008 7:30 AM, S
Try this also:
y-rnorm(50)
x-factor(sample(letters[1:5],50,replace=T))
bp - boxplot(y~x)
text(1:5, bp$stats[3,]+.1, paste(n, bp$n, sep==))
On 30/01/2008, Marc Bernard [EMAIL PROTECTED] wrote:
Dear all,
How can I plot the number of observations per box in a boxplot. Many thanks,
Bernard
How can I plot the number of observations per box in a boxplot.
As usual, there's probably a more elegant solution, but this will do it:
p - rnorm(100)
diddy - boxplot(z)
text(1, diddy$stats[3]+0.4, paste(n = , diddy$n))
see ?text and ?boxplot
-
David Hewitt
Virginia Institute of
Dear all,
How can I plot the number of observations per box in a boxplot. Many thanks,
Bernard
-
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Dear all,
How can I plot the number of observations per box in a boxplot. Many thanks,
Bernard
-
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
On 1/30/2008 6:42 AM, Marc Bernard wrote:
Dear all,
How can I plot the number of observations per box in a boxplot. Many thanks,
Bernard
Something like this?
X - boxplot(count ~ spray, data = InsectSprays, col = lightgray)
mtext(side=1, line = 2, at =
Do you mean something like
y-rnorm(50)
x-factor(sample(letters[1:5],50,replace=T))
boxplot(y~x)
text(1:5,rep(min(y),5),paste(n=,tapply(y,x,length)) )
?
(You can fiddle about with the text placement easily enough).
Also note that boxplot's varwidth parameter provides a graphical
indication of
[EMAIL PROTECTED] wrote:
Hi,
i'm very new to R, so sorry for what i'm sure is a very basic question. I'm
producing a boxplot with the data below:
df3-data.frame(
x=c(10,11,115,12,13,14,16,17,18,21,22,23,24,26,27,28,29,3,30,32,33,34,35,4,4
Hi,
i'm very new to R, so sorry for what i'm sure is a very basic question. I'm
producing a boxplot with the data below:
df3-data.frame(
x=c(10,11,115,12,13,14,16,17,18,21,22,23,24,26,27,28,29,3,30,32,33,34,35,4,4
1,45,5,50,52,56,58,6,67,6738,68,7,8,9),
Hi,
I'm using boxplot in R to show box-whiskers plots for about 15
categories of data. I'd like to display ALL of the data points--not
just the outliers. Does anyone know if there's a parameter setting
that will accomplish this with boxplot? Other options would be to
overlay the
On Nov 28, 2007, at 5:59 PM, Yupu Liang wrote:
Hi,
I'm using boxplot in R to show box-whiskers plots for about 15
categories of data. I'd like to display ALL of the data points--not
just the outliers. Does anyone know if there's a parameter setting
that will accomplish this with boxplot?
301 - 360 of 360 matches
Mail list logo