Displaying 20 results from an estimated 1000 matches similar to: "Boxplot not doing what I think it should"
2012 Jul 13
2
box plot and plot whiskers
Dear R users,
I have question concerning box plot and it's whiskers. As I understood from
the description of the boxplot() function, if the range value is positive
the plot whiskers extend out from the box to the most extreme data points
defined by the values of the IQR times range (default 1.5). It suggests
that the upper and lower plot whiskers should be more less the same length.
What
2004 Nov 20
1
how to suppress whiskers in a bwplot?
dear R-help,
i have looked carefully through the R-help archives for information on how
to suppress whiskers in a bwplot. someone asked this question a while
ago, but the answer he received is not available in the archives.
but i did manage to get my hands on a panel function (called
"my.panel") that is supposed to do this (the function is reproduced at the
end of the email, below).
2011 Apr 17
3
Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...
Hi all,
I'm just getting started with R and I would appreciate some help. I'm having
trouble creating a boxplot with whiskers at the 95th and 5th percentiles
instead of at 1.5 * IQR. I have read the relevant documentation, and checked
existing mails on this topic. I found a small modification that should work
: https://stat.ethz.ch/pipermail/r-help/2001-November/016817.html and tried
to
2009 Jul 12
2
box and whisker (PR#13821)
In a Box and Whisker plot, I thought that when there are outliers both abov=
e and below the whiskers, then the whiskers should both be the same length =
(plus or minus 1.5 times the inter-quartile range).
If you look at the plot for SilwoodWeather on p.155 of The R Book you will =
see that for November (month =3D 11) the upper whisker is shorter than the =
lower, while for other months with
2010 May 12
2
Whiskers on the default boxplot {graphics}
How are the lower/upper whiskers defined in the default version of boxplot {graphics}?
I tried help(boxplot) and searching www.rseek.org, but I was unable to determine an absolute answer.
I checked out the definition of boxplot according to Wikipedia (http://en.wikipedia.org/wiki/Box_plot), but it also had several approaches
listed for how the whiskers could be determined, so I'm just
2010 Jun 04
1
Boxplot: what is shown by default?
hi,
i'm using /"boxplot()"/ to show some data:
x <- c(0.99, 0.97, 0.91, 0.72, 1.00, 0.99, 1.02, 0.90, 0.91, 0.90, 1.02,
0.90, 1.35, 1.01, 0.92)
boxplot(x)
is it correct when i say: /"Boxes represent interquartile ranges (IQRs);
bold horizontal lines, medians; whiskers, lowest and highest values
still within 1.5 x IQR; open circles, outliers."?
/thanks in advance
2012 Jan 29
1
Modifying whiskers in boxplots?
Hello,
I know this has been covered on here before, but as a complete novice, I
need a little more guidance. I would like to produce boxplots with the
whiskers extending to the 10 and 90th percentiles. I found this code:
myboxplot.stats <- function (x, coef = NULL, do.conf = TRUE, do.out =
TRUE)
{
nna <- !is.na(x)
n <- sum(nna)
stats <- quantile(x, c(.1,.25,.5,.75,.9), na.rm
2007 Apr 11
1
Boxplot with quartiles generated from different algorithms
R users:
I am trying to replicate the boxplot output I achieve with Minitab in R.
I realize that R gives the user many more options on the algorithm used
to
calculate the IQR than Minitab, so I concentrated on type=6 when using
the quantile() function in R. The problem I am having is setting the
upper and
lower limit of the whisker based on the nearest actual data that should
be included.
If
2003 Feb 24
3
bwplot stats question
Hi List,
Just wondering where the documentation exists for the statistics which
makeup the bwplot.
I'm guessing that if R is like similar products that the graph is
constructed as
The median is the filled circle. The box surrounding the filled circle
depicts the 25th and 75th quartile. The range of values is given by the
dotted lines (?whiskers?) outside of each box, and possible
2002 Feb 21
2
help understanding box plots
Another naive stats question. I'm trying to better understand what
boxplots are telling me.
I think what I see is the median and the boundaries of the 1st and 3rd
quartiles. The whiskers represent the range of the data unless there
are points which are outside "range" (default: 1.5) times the distance
from the median to that quartile. Is that right? I've read the
2004 Jul 09
3
Problem with bwplot
Try factor(vec2) in your bwplot() call.
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Ernesto Jardim
Sent: Friday, July 09, 2004 9:41 AM
To: Mailing List R
Subject: [R] Problem with bwplot
Hi,
I'm ploting some box-and-whisker plots with bwplot but I'm not getting
any box-and-whiskers ... just dots.
2008 Jan 31
1
how to customize boxplot
Dear List,
I'd like to make boxplots of a large number of observations (+/-
20.000), which are distributed log-normal and right skewed. The
problem is that with standard boxplots a too large number of
observations are displayed as outliers. I also tried to display the
log of the observations, but even then there are to may outliers to my
taste. So I'd like to change the standard IQR box
2008 Sep 02
3
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
figuring out how to label the whiskers.
Any suggestions would be great!
sherri
2010 Aug 05
2
colour of label points on a boxplot
Hi all,
I have 6 datasets(dataframes Assem_ContigsLen7 through all_ContigsLen12)
containing 3 columns (contig_id, contig_length, read_count).
Each dataset is composed of 3 types of contigs (assemblies of genomic
fragments), 1- all Bacterial fragments, 2 - all Viral fragments, 3 -
mixed fragments.
I identified the type of contig through a merge with another table with
just contig_id and
2010 Dec 13
1
ggplot2 errorbarh
Hi,
I'm having problems using the 'width' aesthetic attribute for the
geom_errorbarh. This is the same problem reported earlier here, but I'll
try to write the problem more clearly:
http://www.mail-archive.com/r-help@r-project.org/msg62371.html
The problem I'm having is that, the 'width' attribute is supposed to set the
height of the endpoints of the whiskers, and
2012 Sep 29
3
Removing lower whisker in boxplot to see the effects of the high values
Good Afternoon-
I was wanting to alter the boxplot to remove the lower whisker, both the
whisker line and staple just on the lower end. Is there a way to do this?
As my code is currently:
boxplot(log_loads~ind,data=nfmaum, horizontal=TRUE, notch=T, outline=FALSE,
whisker=0, main="Maumee River Near Future Climate Scenarios", ylab="Log
Load",xlab="Climate Scenarios")
2001 Apr 19
1
boxplot()
Dear all,
I am comparing:
> summary(boxplot(c(1,2,3,4,5,6,7,8,50),range=1.5))
Length Class Mode
stats 5 -none- numeric
n 1 -none- numeric
conf 2 -none- numeric
out 1 -none- numeric
^^^^^
group 1 -none- numeric
names 1 -none- character
with:
> summary(boxplot(c(1,2,3,4,5,6,7,8,50),range=0))
Length Class Mode
stats 5 -none- numeric
n
2010 Apr 24
2
left-to-right series of box and whisker plots from a csv file
Hi,
I've got a csv file with scores like this:
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,38,40,20,40,26,40,30,40,5,5,13,12,40,40,3,33,29,23,2,24,9,15,4,21,16,5,26,8,8,18
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,40,40,30,40,40,37,34,40,36,13,40,13,40,5,40,8,29,5,15,34,5,22,14,20
2005 Jul 10
2
Boxplot in R
I am trying to draw a plot like Matlab does:
The upper extreme whisker represents 95% of the data;
The upper hinge represents 75% of the data;
The median represents 50% of the data;
The lower hinge represents 25% of the data;
The lower extreme whisker represents 5% of the data.
It looks like:
--- 95%
|
|
------- 75%
| |
|-----| 50%
| |
| |
-------
2009 Oct 12
1
How to hide tick lines behind the "box-and-whisker" 's in a boxplot
Dear R people,
I wonder how to hide tick lines behind other figures in a plot, e.g.
in a boxplot.
# Sample code:
x<- c(rep(4,50),rep(5,20),rep(6,50),rnorm(20,5,1))
boxplot(x)
axis(2,tck=1,col.ticks='grey',lty=5 )
# end of sample code
The tick lines is put on top of the box-plot, but I would like to put
these lines behind the box and whiskers..
Regards
Helmer