similar to: Control of box and staple width in boxplot()

Displaying 20 results from an estimated 1000 matches similar to: "Control of box and staple width in boxplot()"

2003 Sep 11
0
extending boxplot with space() argument?
A student asked me if it was possible to draw boxplots where the boxes themselves were grouped: I was able to hack boxplot.formula() to do the right thing, more or less, by incorporating an argument (space) and some code from barplot. with the extended boxplot.formula() below, the following commands "do the right thing" (produce boxes grouped by levels of the second factor): r =
1999 Sep 17
0
"Error: incorrect number of arguments to lambda"
Hello, all. I have a somewhat embarrassing error, in that I cannot reliably reproduce it. I have sporadically experienced the error both on an SGI machine running Irix 6.5 and on a LinuxPPC machine. I have only seen this error using version 0.65.0. (I've been using versions since 0.61 or so.) The error message is in the subject line. Here's the traceback from the most recent
2008 Jan 18
1
gboxplot (JMP Diamond plot in R?)
I am looking to replicate the functionality of the JMP diamond plot in R. I have found the following enhancement and no other references(see below). I have tried to contact the author via email and I have had no luck. Does any know if this functionality exists in R? If it does not does anyone know how to contact the author of the enhancement request? "Hi, I experimented with a set of S
2010 Oct 18
1
boxplot ranked x labels
Dear R users, x-values (EI) = Adw, EG1, LA1, Ad1, LA2, LA3...(14 levels, insect stages) y-valus = antpop within the boxplot function x-values are ordered alphabetically Idea: x-values ranked by list order (insect stage: Egg stage 1 is followed by Larvae 1 and not by Egg stage 2 as it would be in an alphabetically order) Problems with the order(tapply()) function: variable lengths
1999 Jan 12
0
A patch for boxplot.R
[this was sent to R-help-owner instead of R-help. why on earth ??!???!? well, I took the liberty to cut the long citation.. MM] Dear Yusuke These changes look interesting. Have you considered being able to specify a different shading or crosshatching for each box. I can't see how you can do this at present. You can get different colours but of course this is no good for black
2012 Feb 10
1
Formatting Y axis.
I've looked around and I just can't find anything that will work for my needs. This is a bit of a 2 part question but pertaining to the same topic so bare with me. The first is with my qq plot. On the Y axis of my qq plot it'll have my sample quantities but because my data is log-normal it'll show numbers between 0 - 5 (depending on the data). I'd like to know how to get it,
2002 Dec 01
2
Quasi-bug in boxplot().
There seems to be a problem with partial matching of argument names in boxplot(), in respect of the "horizontal" argument. I don't recall seeing this issue discussed previously. My apologies if I am being redundant. (A scan of CRAN revealed that someone had experienced problems with the "horizontal" argument, but he was spelling it out in full, so that was a different
1997 Sep 24
0
R-alpha: boxplot(..., varwidth = TRUE, ...) in 0.50a4
To use Ron Ziegler's famous phrase, that argument is "no longer operative". The code for the bxp function, which is what is called to actually do the plotting, has a section if (!is.null(width)) { if (length(width) != n | any(is.na(width)) | any(width <= 0)) stop("invalid boxplot widths") width <- 0.8 * width/max(width) } else if (varwidth) {
2011 Jun 17
1
graphsheet and export.graph equivalents in R?
R Experts I'm currently using an S+ script of the following format and would like to convert it to R. The script opens a graphsheet with an associated name, plots something (in this case a boxplot) and then exports the contents of the graphsheet of the assigned name to an EMF file. I've been looking for something in R that would work the same way but to no avail. Could someone
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
2004 Mar 17
1
(no subject)
Hi Marc, Thanks for the response. Apologies for the lack of detail... I have used 'boxwex', 'at' and ylim, to place things nicely, except I know have some spare room at the end of the plot, which I would like to get rid of.... Your suggestion to use 'add' per the example is one I had not thought of. Does any one know of a simpler approach, to use add I'm need to
2005 Apr 19
1
controlling the x axis of boxplots
v 2.0.1 (sooooh old!) on Win2k I think I know the answer to this but I can hope ... I have data for continuous variables (measures of residents) by a categorical variable in range (1,22), the units in which they live. I want to plot these data with a pair of boxplots one above another with same x-axis (1,22) using par(mfrow=c(2,1)) and then plotting first for the women then for the men.
2001 May 26
1
boxplots
Was there ever a convenient method provided to add boxplots to the current plot at specified x values? There was a question by Martin Maechler some time ago here, but I could seem to find any satisfactory resolution of it. I see that there is an add=T option to boxplot and bxp, but I don't see how to set the x-values. url: http://www.econ.uiuc.edu Roger Koenker email roger at
2012 Aug 01
3
Changing labels positions in two graphics
Hi, I?ve got some problems with the labels of the x-axis I,ve got two factors with two categories each: sex (males and females) and area (central and peninsulae), but because of the lenngth in the graphic just appeared two of the four labels. I thought the solution could be rotate it 45? degrees, I have read it can be done with "srt" or "rotate", but I don?t know hoe to use
2007 May 18
0
Is formula(data.frame) documented?
The Examples section of 'unstack' includes: formula(PlantGrowth) # check the default formula I wanted to add a formula to my own data.frame (for unstacking), so I start looking: ?formula # Nothing here about adding a formula to data attr(PlantGrowth, "formula") # Nothing here--c.f. groupedData objects dput(PlantGrowth) # Hmm, no formula here either ?formula.data.frame
2010 Jun 24
2
boxplot width
Hi everyone, I made this set of boxplots that would show me the widths of some sites broken up by some chromosome, but I don't know how to make it indicate the number of data points that created the boxplot. How do I do that? boxplot(data$site~data$chr,varwidth='TRUE') -- View this message in context: http://r.789695.n4.nabble.com/boxplot-width-tp2266805p2266805.html Sent from the
2007 Jun 16
1
Lines connecting the boxes in a boxplot
Hello, I'm currently using a boxplot to visualize data for three different models. As I have three models, I'm plotting three parallel boxplots for each factor. This works fine - what I need now is a line connecting the medians of each boxplot of each model. I want to do this in order to visualize the trend that one of the models exhibit. Basically, I want to plot a curve for each model
2005 Jul 12
4
Calculation of group summaries
I know R has a steep learning curve, but from where I stand the slope looks like a sheer cliff. I'm pawing through the available docs and have come across examples which come close to what I want but are proving difficult for me to modify for my use. Calculating simple group means is fairly straight forward: data(PlantGrowth) attach(PlantGrowth) stack(mean(unstack(PlantGrowth)))
2011 Jun 07
1
Rv: Rv: limites de un boxplot
Hola, por mi parte doy por zanjado el tema. He llegado a la causa raíz de mi problema: falta de conocimiento de la forma en la que se debe usar la ayuda de las funciones de R y gracias a vuestra colaboración, ¡ya se cómo hacerlo :) !   Nuevamente,gracias a todos. Saludos,   Fernando   -- ____________________________________   Hola,   La misma función boxplot indica la existencia de estas
2008 Nov 28
1
side by side boxplots
Good Morning, I am trying to get side by side boxplots of two groups on the same variable. The last item under ?boxplot led me to some useful code. I use "boxwex" to make the boxes narrower, "at" to shift them over and "add" to draw them both on the same graph. Something along the lines of: attach(group1) boxplot(Y~X, col="blue", boxwex=.4,