Displaying 20 results from an estimated 10000 matches similar to: "label outliers in boxplot and/or bwplot"
2005 Jan 17
2
bwplot: how not to draw outliers
RenE J.V. Bertin wrote:
> Hello, and (somewhat belated) best wishes for 2005.
>
> Can one order not to draw outliers in bwplot, or at least exclude them from the vertical axis scaling? If so, how (or what doc do I need to consult)?
> The options that have this effect in boxplot() do not appear to have any effect with bwplot (although outline=FALSE in boxplot does *not* change the
2006 Jun 01
1
how to add point and label to boxplot using bwplot
Hi.
My data contains information for 10 hospitals for 12 different measures.
Let's call it x1-x12. I need to create a boxplot for each one of this
measures and put them into one page. Each plot also needs to be independent,
i.e. cannot use the group feature because of different scales for each
measure. I was successful using the following code:
x1 <- c(1.317604376, 0.978038233,
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
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
2012 Sep 14
1
Boxplot lattice vs standard graphics
Given my reproducible example
test<-structure(list(site = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L,
3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 5L), .Label = c("A",
"B", "C", "D", "E"), class =
2008 Feb 27
1
Label outliers in boxplot
Sorry if this is a stupid question, I'm a beginner and I didn't find help in manuals, archives, or web
I have a z matrix of this type:
a b c d
786-30.s2.gpr 0.2186214 1.3374486 89.37757 9.066358786-31.s1.gpr 1.0931070 1.3245885 81.37860 16.203704786-31.s2.gpr 0.5529835 1.3374486 86.43261 11.676955786-32.s1.gpr 0.6815844
2012 Sep 28
2
changing outlier shapes of boxplots using lattice
Hello
This is Elaine.
I am using package lattice to generate boxplots.
Using Richard's code, the display was almost perfect except the outlier
shape.
Based on the following code, the outliers are vertical lines.
However, I want the outliers to be empty circles.
Please kindly help how to modify the code to change the outlier shapes.
Thank you.
code
package (lattice)
dataN <-
2006 Mar 14
2
bwplot and outlier symbols
Hi,
I was just trying to figure out how to beautify the output of my
bwplot-output. Altogether I figured most of the things out on my own. The
one thing which puzzles me though are the symbols for the outliers.
I can easily change the form of the median symbol by using "pch" but I
don't know how to do this for outliers. Obviously the "outpch" of the
2005 Dec 01
8
Impaired boxplot functionality - mean instead of median
Hello to all users and wizards.
I am regulary using 'boxplot' function or its analogue - 'bwplot' from
the 'lattice' library. But they are, as far as I understand, totally
flawed in functionality: they miss ability to select what they would
draw 'in the middle' - median, mean. What the box means - standard
error, 90% or something else. What the whiskers mean -
2013 Feb 22
1
locating boxplot in bwplot (lattice)
Hello
I am using lattice bwplot to draw migration distance of three groups of
birds.
The boxplots from the left to right is displayed
in alphabetic order of the boxplot names, as the default setting.
However, I would like the boxplots from the left to right to be displayed
according to the migration distance from the short values to the long ones.
In the data below, from the left to the
2009 Sep 30
1
bwplot scales in alphabetical order
Dear List,
I know this has been covered before, but I don't seem to be able to get it right. I am constructing a boxplot in lattice and can't get the scales in the correct alphebetical order. I have already read that this is due to the way factors are treated, and I have to redefine the levels of the factors. However, I have failed.
As a simple example:
library(lattice)
2012 Jul 22
1
Lattice/"panel.bwplot" and Gviz: Boxplot question
Hi,
I was using Gviz package to create a boxplot. I understand that Gviz uses
"panel.bwplot" to create the boxplot.
Is there any way that I can remove the dashed line surrounding each pair of
boxplots?
Here is some sample code:
#############
library(Gviz)
thisdata <- matrix(sample(1:100,60),nrow=10,ncol=6)
positions <- sample(1:100,6)
limit1 <- min(positions)-1
limit2
2011 Jan 26
1
boxplot - code for labeling outliers - any suggestions for improvements?
Hello all,
I wrote a small function to add labels for outliers in a boxplot.
This function will only work on a simple boxplot/formula command (e.g:
something like boxplot(y~x)).
Code + example follows in this e-mail.
I'd be happy for any suggestions on how to improve this code, for example:
- Handle boxplot.matrix (which shouldn't be too hard to do)
- Handle cases of complex
2013 Apr 07
4
Same boxplot colors by panels in lattice (bwplot)
Dear all,
I would like to have the same color for the all boxplots from the same
panel, but my code below shows the two colors alternating. Thanks!
set.seed(42)
D1 <- rnorm(200)
D2 <- factor(sample(letters[1:2],200,TRUE))
D3 <- factor(sample(letters[3:5],200,TRUE))
DF <- data.frame(x=D1,a=D2,b=D3)
print(bwplot(b~x|a,data=DF,col=c("black","black"),
2007 Jan 10
2
labels outliers in boxplot
Dear R-users,
Following is part of my data, where slide has 36
levels and block 48 levels. I have done boxplot for
each slide on the same graph. There are outliers for
each slide and I tried to use indentify functtion to
identify outliers in such a way that when I click on
an outlier or point, the points will be labelled by
either their block or ID or by both but without
success. How can I make
2008 Aug 05
5
boxplot with average instead of median
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 University
PO Box 6315
210 Hodges Hall
Morgantown WV 26506-6315
phone: (304) 293-3442 ext. 1430
fax: (304)
2009 Aug 19
2
mild and extreme outliers in boxplot
dear all,
could somebody tell me how I can plot mild outliers as a circle(?) and
extreme outliers as an asterisk(*) in a box-whisker plot?
Thanks very much in advance
--
View this message in context: http://www.nabble.com/mild-and-extreme-outliers-in-boxplot-tp25040545p25040545.html
Sent from the R help mailing list archive at Nabble.com.
2005 Mar 23
2
alternative to 'groups' for lattice bwplot()
Hi,
Is there some alternative to the 'groups' argument in lattice's bwplot
function for boxplots? Say in the example below:
bwplot(yield ~ site | year, data = barley)
you want to have two side by side boxplots per site, corresponding to each
year in the barley data frame. Ideally, the space between boxplots of the
same site should be smaller than that between boxplots of different
2006 Apr 13
1
bwplot vs boxplot$stats
Hi,
can I find something comparable to boxplots$stats in the resulting trellis
object of a bwplot() call? All I could find was a list named panel.args,
which apears to be identical to the list I get calling xyplot(). This isn't
helping very much since I would still have to compute the median/quantiles
myself to use it for further statistical evaluation (such hierarchical
clustering). All kind
2006 Feb 26
2
How to produce notches in bwplot?
Dear r-helpers,
tst <- data.frame(as.numeric(x <- 1:20), f <- rep(c('hi','lo'), times
= 10))
with(tst, bwplot(f ~ x, panel = function(x, y){panel.bwplot(x, y, pch
= '|', stats = boxplot.stats, fill = 8, varwidth = T)}))
I can't figure out from the documentation how to tell stats that I
would like to see notches or (even bands).
Here is what I've