similar to: How to get a grid behind a boxplot

Displaying 20 results from an estimated 1000 matches similar to: "How to get a grid behind a boxplot"

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,
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 =
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
2004 Apr 05
1
fligner.test (ctest) (PR#6739)
Full_Name: Karel Zvara Version: 1.8.1 OS: MS Winows 2000 Submission from: (NULL) (195.113.30.163) The test statistics of the fligner.test (ctest package) depends on the order of cases: > fligner.test(count~spray,data=InsectSprays) Fligner-Killeen test for homogeneity of variances data: count by spray Fligner-Killeen:med chi-squared = 14.4828, df = 5, p-value = 0.01282 >
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
2008 Sep 23
1
plot error
HI there, why these lines of code are correct plot(count~spray, data = InsectSprays) plot(InsectSprays$count) but this return an error: plot(count, data = InsectSprays); "data" method is not implemented in plot?! Thanx, Gianandrea -- View this message in context: http://www.nabble.com/plot-error-tp19624873p19624873.html Sent from the R help mailing list archive at Nabble.com.
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.
2018 Feb 13
3
Suppress horizontal mean line in beanplot()
Hi, I would like to use the beanplot() function from the beanplot package. Unfortunately, I can't find out how to suppress the dashed horizontal line, that shows the overall mean. In the help I've found the argument "overallline", but it only allows for "mean" or "median" . I have tried overallline = F, overallline="n", and
2010 Aug 13
2
Dealing with data
# how would I code in R to look at the letter of the alphabet # in the second column and create a indicator column for the # corresponding letter? data(InsectSprays) InsectSprays$spray
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]]
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,
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
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]]
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
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,
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,
2008 Aug 22
1
Different results between v2.6.1 and 2.7.1 (PR#12579)
Hello~ When I use R2.6.1, the following work correctly. par(mar=3Dc(4.2,3.1,0.5,0.5), oma=3Dc(2,2,2,2)) boxplot(count ~ spray, col =3D "lightgray") box("inner", lty=3D"dotted", col=3D"red") box("outer", lty=3D"solid", col=3D"green") =20 But when I use R2.7.1, the outer region seems too large. I don=A1=A6t know what