similar to: Sorting problem

Displaying 20 results from an estimated 10000 matches similar to: "Sorting problem"

2007 Oct 15
4
boxplot() confuses x- and y-axes (PR#10345)
Full_Name: Bob O'Hara Version: 2.6.0 OS: Windows XP Submission from: (NULL) (88.112.20.250) Using horizontal=TRUE with boxplot() confuses it as to what is an x- or y-axis. At least, xlim= and ylim= are the wrong way round, log="x" (or "y") and xaxt= work as expected, I haven't looked at anything else. Some code to see if you can reproduce the bug (or discover
2011 Jun 24
2
text overlap in plot
Hey, Here is a snippet that generated a boxplot and separates points so that they do not overlap. I have a problem to avoir text overlapping. Any help would be helpful. > attach(InsectSprays) boxplot(count ~ spray, data = InsectSprays, outpch = NA) stripchart(count ~ spray, data = InsectSprays, vertical = TRUE, method = "jitter", pch = 21, col =
2006 Apr 28
2
How to get a grid behind a boxplot
I am using R 2.2.1 on a Windows 2000 PC. When I do a grid() after the boxplot it overprints the boxplot: > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") > grid(nx=NA, ny=NULL) > if I try the panel.first > boxplot(count ~ spray, data = InsectSprays, col = "lightgray", + panel.first=grid(nx=NA, ny=NULL)) > I can see the grid flash
2006 Mar 22
3
ordering boxplots according to median
Dear R-users, Does anyone knows how I can order my serie of boxplots from lowest to highest median (which is much better for visualization purposes). thanks in advance, willem [[alternative HTML version deleted]]
2008 May 22
2
Stripchart and Boxplots side-by-side
Dear all - With the following code I get Boxplots and Stripcharts in one Plot: with(InsectSprays, boxplot(count ~ spray, boxwex = 0.3)) with(InsectSprays, stripchart(count ~ spray, col = "red", vertical = TRUE, add = TRUE)) But the dots from the stripchart are plotted over the Boxes. Is there any possibility to have Stripchart and Boxplots side-by-side, i.e. to move boxplots and/or
2006 Apr 27
3
ordered boxplots
Dear List-Members, I would like to produce a ordered boxplot in which the categories with the smallest median are plotted at the left end and the box with the largest median at the right. Thanks in advance for any advices Thomas H.
2011 Dec 09
3
Como marcar la media en un grafico boxplot ??
Estimados amigos, mi pregunta es bien directa, a ver si alguien me puede ayudar: Como marcar la media en un grafico boxplot ?? Por lo que veo, los boxplot en R marcan por defecto la mediana dentro de la caja, pero necesito marcar la media y ojala sacar la mediana para que no aparezcan los dos parametros. Por lo que he leido, imagino que se puede hacer con alguna funcion de bajo nivel, pero soy
2004 Aug 26
5
Problems with par() and labels with boxplot
Quite a simple one really! When I run boxplot(), the labels on the X axis are horizontal, and I want them vertical. So I did: par(las=3) boxplot(...) And my labels just aren't there anymore.... Any help???
2006 Jan 06
1
Ordering boxplot factors
Hi all, what a great help list! I hope someone can help me with this puzzle... I'm trying to find a simple way to do: boxplot(obs~factor) so that the factors are ordered left-to-right along the x-axis by median, not alphabetically by factor name. Complicated ways abound, but I'm hoping for a magical one-liner that'll do the trick. Any suggestions would be treasured. Thanks,
2010 Jan 02
2
Boxplot- input the median point and the median value
Dear, I am a newbie to R. Now I am learning to draw boxplot using graphics(). I want to highlight the median position with a round point and the value left (or on the top of)to the point. Please kindly share the command and thank you. Elaine [[alternative HTML version deleted]]
2005 Apr 15
2
A question about boxplot: mean and median
Dear List, I have worked through the examples given in the help on boxplot(). If I am reading it right, only the median is produced (as a default), which is represented by the horizontal line inside the box. What argument do I need to specify if I want to show the mean as well? Thanks, platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status
2006 Aug 01
3
boxplot
Hello R-users and developers, Once again, I'm asking for your help. I've used "identify" to identify points in a scatter plot. However, I can't apple in the boxplot..... I need to identify the outlier's id in the boxplot. Can anyone help me? Thanks in advance, Ana Patricia Martins [[alternative HTML version deleted]]
2008 Jan 30
4
boxplot and number of observations per box
Dear all, How can I plot the number of observations per box in a boxplot. Many thanks, Bernard --------------------------------- [[alternative HTML version deleted]]
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver. When I run a simple example, eg > data(InsectSprays) > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") the boxplot is fine. Doing the same thing after > xfig(file='test.fig') and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots where the boxes, although correctly shaded in,
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver. When I run a simple example, eg > data(InsectSprays) > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") the boxplot is fine. Doing the same thing after > xfig(file='test.fig') and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots where the boxes, although correctly shaded in,
2004 Sep 29
6
displaying sample size in boxplots
Hi, I was wondering if there is a ready made function or parameter for indicating the sample size in boxplots? Here's what I came up with so far: library(ISwR) data(energy) attach(energy) boxplot(expend~stature) sample.size <- tapply(expend, stature, length) sample.size <- paste("N=", sample.size, sep="") mtext(sample.size, at=1:length(unique(stature)), line=2,
2010 Nov 15
1
Converting numbers to percentages for boxplots
Hi, I need to convert general numbers to percentages in R to create a boxplot for purposes of comparison. Can you please tell me how I can do that? My data is attached as a csv file. Thanks. Daniel
2010 Aug 13
2
Learning ANOVA
Hi folks, File to be used is on; data(InsectSprays) I can't figure out where to insert it on following command; test01 <- read.csv(fil.choose(), header=TRUE) Please help. TIA B.R.
2011 Feb 10
1
Add different types of legend: line and points
Hello, I plot box plot, and add a point to the box indicating mean. I also add some range to the box width. I want to add legend for both the range (line) and mean (point). However, I cannot add line legend and point legend together. The code looks like the following. (1) First, I tried the following code, however, it plot a line across the point legend("*"). boxplot(count ~ spray,
2010 May 07
2
overlap dot plots with box plots
Hi, I am new in R and would like to dot plot my real data points from different categories and put box plot overlapping. To give a feeling of the distribution of my data and the real values. I managed to that in excel but it takes a lot of time and it makes the program crash quite often! http://n4.nabble.com/file/n2134530/Excelversion.jpg I managed to get a box plot and a dot plot of my three