Re: [R] boxplot help

2012-08-15 Thread Rui Barradas
Hello, I'm not sure wether this is what you want, but here it goes. dd - structure( ...etc... ) # your dataset # make group identifiers ym - paste(dd$Year, as.character(dd$Month), sep=-) op - par(las=2) # make labels perpendicular to axis bp - boxplot(Temp ~ ym, data=dd) axis(1, at =

Re: [R] boxplot help

2012-08-15 Thread John Kane
...@hotmail.com Sent: Wed, 15 Aug 2012 09:52:36 -0700 (PDT) To: r-help@r-project.org Subject: Re: [R] boxplot help hi thanks the dput output is... structure(list(Year = c(2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L

[R] Boxplot graphic

2012-07-25 Thread phillen
Dear R-users! I boxplotted some data. the class of the data is numeric. There are some outliers and I would like to see their names in the graphic. So, instead that the data points of the outliers are plotted as points, I would like to have their names plotted. First of, how can I give my data

Re: [R] Boxplot graphic

2012-07-25 Thread John Kane
ON Canada -Original Message- From: phlent...@gmail.com Sent: Wed, 25 Jul 2012 04:26:30 -0700 (PDT) To: r-help@r-project.org Subject: [R] Boxplot graphic Dear R-users! I boxplotted some data. the class of the data is numeric. There are some outliers and I would like to see

Re: [R] Boxplot graphic

2012-07-25 Thread Uwe Ligges
On 25.07.2012 13:26, phillen wrote: Dear R-users! I boxplotted some data. the class of the data is numeric. There are some outliers and I would like to see their names in the graphic. So, instead that the data points of the outliers are plotted as points, I would like to have their names

Re: [R] Boxplot graphic

2012-07-25 Thread S Ellison
-project.org Subject: [R] Boxplot graphic Dear R-users! I boxplotted some data. the class of the data is numeric. There are some outliers and I would like to see their names in the graphic. So, instead that the data points of the outliers are plotted as points, I would like to have

Re: [R] Boxplot graphic

2012-07-25 Thread John Fox
Dear phillen, You can use the identify() command following boxplot() to identify outliers, or more simply, the Boxplot() function in the car package, which will do this for you (see the first example in ?Boxplot). I hope this helps, John John

[R] Boxplot names

2012-07-19 Thread Jessica Streicher
When i make Boxplots with a lot of boxes, the names of them get only written down every second column. Since they aren't in any way ordered, you don't see anymore to what they belong. example: l-rep(list(1:5),20); boxplot(l,names=sample(20,1:20)) Is there a way to show them all, or do i have

Re: [R] Boxplot names

2012-07-19 Thread Peter Ehlers
On 2012-07-19 06:58, Jessica Streicher wrote: When i make Boxplots with a lot of boxes, the names of them get only written down every second column. Since they aren't in any way ordered, you don't see anymore to what they belong. example: l-rep(list(1:5),20); boxplot(l,names=sample(20,1:20))

Re: [R] Boxplot names

2012-07-19 Thread Jessica Streicher
Copied the wrong lines, sry l-rep(list(1:5),20); boxplot(l,names=sample(1:20,20)) of course. thanks for the answer . On 19.07.2012, at 16:17, Peter Ehlers wrote: On 2012-07-19 06:58, Jessica Streicher wrote: When i make Boxplots with a lot of boxes, the names of them get only written down

Re: [R] Boxplot names

2012-07-19 Thread Bert Gunter
You might alternatively find the horizontal = TRUE with las=2 to be useful; e.g. dat - data.frame(val=rnorm(100), grp=rep(apply(matrix(sample(letters,100,rep=TRUE),nr=5),2,paste,collapse=),5)) boxplot(val~grp,horizontal=TRUE,data=dat,las=2) ## Note that las=2 might also help with

Re: [R] Boxplot names

2012-07-19 Thread John Fox
Dear Jessica, You might try par(las=2) to rotate the tick labels to be perpendicular to the axes. I hope this helps, John John Fox Sen. William McMaster Prof. of Social Statistics Department of Sociology McMaster University Hamilton, Ontario,

Re: [R] Boxplot names

2012-07-19 Thread S Ellison
When i make Boxplots with a lot of boxes, the names of them get only written down every second column. Since they aren't in any way ordered, you don't see anymore to what they belong. Jessica, Another possibility if the names are long is to use abbreviated factor levels. The labels appear

Re: [R] boxplot with cut

2012-07-10 Thread Rui Barradas
Hello, Maybe this iss what you're looking for. GD is your data.frame. multi.boxplot - function(x, by, ...){ x - as.data.frame(x) sp - split(x, by) len - length(sp) - 1 n - ncol(x) n1 - n + 1 boxplot(x[[ 1 ]] ~ by, at = 0:len*n1 + 1,

[R] boxplot with cut

2012-07-09 Thread Vining, Kelly
Dear UseRs, I'm making box plots from a data set that looks like this: Chr Start End GeneDensity ReadCount_Explant ReadCount_Callus ReadCount_Regen 1 1 1 1 107.82 1.2431.047 1.496 2 1 10001 2 202.50 0.835

Re: [R] Boxplot with Log10 and base-exponent axis

2012-06-25 Thread Luigi
Dear Mr Dunlap, Your solution works really fine. Thank you for your time, Best wishes, Luigi -Original Message- From: William Dunlap [mailto:wdun...@tibco.com] Sent: 23 June 2012 18:48 To: Luigi Cc: 'Martin Maechler'; r-help@r-project.org Subject: RE: [R] Boxplot with Log10 and base

Re: [R] Boxplot with Log10 and base-exponent axis

2012-06-24 Thread Steve Taylor
-project.org] On Behalf Of Martin Maechler Sent: Saturday, 23 June 2012 4:57a To: Luigi; William Dunlap Cc: r-help@r-project.org Subject: Re: [R] Boxplot with Log10 and base-exponent axis The key is to supply an expression, not text, to the labels argument to axis. See help(plotmath

Re: [R] Boxplot with Log10 and base-exponent axis

2012-06-23 Thread Luigi
] On Behalf Of Luigi Sent: Friday, June 22, 2012 7:54 AM To: r-help@r-project.org Subject: [R] Boxplot with Log10 and base-exponent axis Dear all, I would like to (i) produce boxplot graphs with axis in logarithm in base 10 and (ii) showing the values on the axis in 10^exponent format

Re: [R] Boxplot with Log10 and base-exponent axis

2012-06-23 Thread William Dunlap
, June 23, 2012 8:49 AM To: William Dunlap Cc: 'Martin Maechler'; r-help@r-project.org Subject: RE: [R] Boxplot with Log10 and base-exponent axis Thank you! This works good. I understand that the value are now in Log10 scale, although I did not understand what is happening at line 4 of your

[R] Boxplot with Log10 and base-exponent axis

2012-06-22 Thread Luigi
Dear all, I would like to (i) produce boxplot graphs with axis in logarithm in base 10 and (ii) showing the values on the axis in 10^exponent format rather than 10E+exponent. To illustrate with an example, I have some widely spread data that I chart plot using boxplot() [figure on the left];

Re: [R] Boxplot with Log10 and base-exponent axis

2012-06-22 Thread William Dunlap
:54 AM To: r-help@r-project.org Subject: [R] Boxplot with Log10 and base-exponent axis Dear all, I would like to (i) produce boxplot graphs with axis in logarithm in base 10 and (ii) showing the values on the axis in 10^exponent format rather than 10E+exponent. To illustrate

Re: [R] Boxplot with Log10 and base-exponent axis

2012-06-22 Thread William Dunlap
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of William Dunlap Sent: Friday, June 22, 2012 8:14 AM To: Luigi; r-help@r-project.org Subject: Re: [R] Boxplot with Log10 and base-exponent axis The key is to supply an expression

Re: [R] Boxplot with Log10 and base-exponent axis

2012-06-22 Thread Martin Maechler
-project.org] On Behalf Of Luigi Sent: Friday, June 22, 2012 7:54 AM To: r-help@r-project.org Subject: [R] Boxplot with Log10 and base-exponent axis Dear all, I would like to (i) produce boxplot graphs with axis in logarithm in base 10 and (ii) showing the values on the axis in 10

[R] Boxplot superscript y-axis

2012-05-29 Thread eduardo van den Berg
Dear list, I need to include in a superscript number (-1) in a y-axis label of a boxplot graphic. I tried the following line: boxplot(five$gr13~five$Code, xlab=Species code, ylab=substitute(paste(DGL growth (cm.yr^{-1}, It returns the following error message: Error in DGL growth (cm.yr^{ :

Re: [R] Boxplot superscript y-axis

2012-05-29 Thread Carlos Rivera
, Carlos Rivera -Mensaje original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] En nombre de eduardo van den Berg Enviado el: martes, 29 de mayo de 2012 17:24 Para: r-help@r-project.org Asunto: [R] Boxplot superscript y-axis Dear list, I need to include

Re: [R] Boxplot Fill Pattern

2012-03-09 Thread Michael Friendly
On 3/8/2012 1:08 PM, Gabriel Yospin wrote: I would like to make a legible boxplot of tree growth rates for each of seven tree species at each of seven different sites. It's a lot of data to put on one figure, I know. I made a beautiful, interpretable figure using color, but my target journal

[R] Boxplot Fill Pattern

2012-03-08 Thread Gabriel Yospin
Hello R Help! I would like to make a legible boxplot of tree growth rates for each of seven tree species at each of seven different sites. It's a lot of data to put on one figure, I know. I made a beautiful, interpretable figure using color, but my target journal can't deal with color figures. I

Re: [R] Boxplot Fill Pattern

2012-03-08 Thread R. Michael Weylandt
On Thu, Mar 8, 2012 at 1:08 PM, Gabriel Yospin yosp...@gmail.com wrote: Hello R Help! Hello Gabe Yospin! (I feel like I should start playing some arena rock anthem now ;-) ) I would like to make a legible boxplot of tree growth rates for each of seven tree species at each of seven different

Re: [R] Boxplot Fill Pattern

2012-03-08 Thread R. Michael Weylandt
It looks very nice -- hopefully your reviewers agree. The built in documentation is a little sparse (though greatly enhanced in the newest 0.9.0 release) -- but Hadley's website http://had.co.nz/ggplot2/ is very good and there's a ggplot2 book available on Amazon (though it's a little out of date

Re: [R] Boxplot Fill Pattern

2012-03-08 Thread Gabriel Yospin
Thanks for the help, Michael. ggplot2 is an interesting package. It would nice if there were better documentation in the help files, but the (fully functional) code (with fake data) I've settled on is below. I am particularly pleased with the theme_bw, which will use less ink than the default

Re: [R] boxplot with diamond shape

2012-01-17 Thread csrabak
Em 16/1/2012 08:07, David martin escreveu: Hi, I haven't found in R a possibility to draw a boxplot with a diamond shape (means and CI). David, Perhaps, even prejudicially, as I cannot see any advantage on the diamond shape for displaying just two dimensions, I would recommend you check if

Re: [R] boxplot with diamond shape

2012-01-17 Thread David Winsemius
On Jan 17, 2012, at 10:22 AM, csrabak wrote: Em 16/1/2012 08:07, David martin escreveu: Hi, I haven't found in R a possibility to draw a boxplot with a diamond shape (means and CI). David, Perhaps, even prejudicially, as I cannot see any advantage on the diamond shape for displaying just

[R] boxplot with diamond shape

2012-01-16 Thread David martin
Hi, I haven't found in R a possibility to draw a boxplot with a diamond shape (means and CI). Does anyone know how to plot it ? thanks, __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] boxplot with diamond shape

2012-01-16 Thread Ivan Calandra
Is the 'notch' argument to boxplot() what you're looking for? See ?boxplot Ivan Le 16/01/12 12:07, David martin a écrit : Hi, I haven't found in R a possibility to draw a boxplot with a diamond shape (means and CI). Does anyone know how to plot it ? thanks,

Re: [R] boxplot with diamond shape

2012-01-16 Thread Jim Lemon
On 01/16/2012 10:07 PM, David martin wrote: Hi, I haven't found in R a possibility to draw a boxplot with a diamond shape (means and CI). Does anyone know how to plot it ? Hi David, Interesting. Have you ever seen this done elsewhere? Wouldn't be too hard to program. Jim

Re: [R] boxplot with diamond shape

2012-01-16 Thread David martin
Go to Page 62 Chapter 5 Figure 5.3 Example of Means Diamonds

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-13 Thread Ryan Utz
-help@r-project.org Subject: Re: [R] Boxplot of multiple vectors with different lengths Thanks for the help, everyone. However, no solution yet... My vectors names are neatly stored in a character vector of their own. This happens based on how they were imported. So, say I have vectors

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-13 Thread William Dunlap
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Trevor Carey- Smith Sent: Monday, December 12, 2011 4:22 PM To: r-help@r-project.org Subject: Re: [R] Boxplot of multiple vectors with different lengths On 12/13/2011 12:14

[R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the data and create a list of the vectors I want to compare. But I cannot, for the life of me,

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Sarah Goslee
Hi, On Mon, Dec 12, 2011 at 4:24 PM, Ryan Utz utz.r...@gmail.com wrote: Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the data and create

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Thomas Adams
Ryan, I think you could do what you want by having the vector data written to separate files; then create a file containing the individual file names. In R, read the file containing the list of file names and loop through this reading in the individual vector files. Maybe this is an inelegant,

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
Sorry -- previous versiuon prematurely sent. Full version is: Yikes!  You should never have to do this sort of thing (writing stuff out to files, etc.) What is wanted, I believe, is ?do.call as in do.call(boxplot, z) where z is list(a,b,c)   as Sarah described. However, I think you

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Thomas Adams
Bert, I may be mistaken, but I thought Ryan wrote write code that automatically *imports data* from different files (with different lengths-just one variable), so, I was referring to doing something with the data before it gets into R. I understand that one should not need to write out data and

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Vining, Kelly
-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the data and create

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Peter Ehlers
, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
Thomas: I stand corrected. Thank you. -- Bert On Mon, Dec 12, 2011 at 2:21 PM, Thomas Adams thomas.ad...@noaa.gov wrote: Bert, I may be mistaken, but I thought Ryan wrote write code that automatically imports data from different files (with different lengths-just one variable), so, I was

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread William Dunlap
-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 3:15 PM To: r-help@r-project.org Subject: Re: [R] Boxplot of multiple vectors with different lengths Thanks for the help, everyone. However, no solution yet... My

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Trevor Carey-Smith
-project.org] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable

Re: [R] Boxplot

2011-11-27 Thread Jakson Alves de Aquino
On Sun, Nov 27, 2011 at 2:15 AM, Jeffrey Joh johjeff...@hotmail.com wrote: I'm trying to do the second case among Jim's suggestions.  I used Bert's suggestion and it works great. I would also like to ask if anyone is familiar with a package for making box-plots.  I would like to bin my

[R] Boxplot

2011-11-26 Thread Jeffrey Joh
I'm trying to do the second case among Jim's suggestions.  I used Bert's suggestion and it works great. I would also like to ask if anyone is familiar with a package for making box-plots.  I would like to bin my datapoints at defined X intervals and display a boxplot for each bin on the same

Re: [R] Boxplot

2011-11-26 Thread David Winsemius
On Nov 27, 2011, at 12:15 AM, Jeffrey Joh wrote: I'm trying to do the second case among Jim's suggestions. I used Bert's suggestion and it works great. I would also like to ask if anyone is familiar with a package for making box-plots. I would like to bin my datapoints at defined X

[R] boxplot strange behavior

2011-11-16 Thread Giovanni Azua
Hello, I generate box plots from my data like this: qplot(x=xxx,y=column,data=data,geom=boxplot) + xlab(xxx) + ylab(ylabel) + theme_bw() + scale_y_log10() + geom_jitter(alpha=I(1/10)) The problem is that I see lot of points above the maximum at the same level as some outliers. It looks very

Re: [R] boxplot strange behavior

2011-11-16 Thread Dennis Murphy
And you got a reply on the ggplot2 list, which is why you're asked not to cross-post. For those who are wondering, geom_boxplot() in the ggplot2 package will by default plot outside points along the same line as the boxplot whiskers at their actual values. The gentleman jittered the original

Re: [R] boxplot

2011-10-14 Thread R. Michael Weylandt
A few things in play here: 1) I'm guessing you are new to R, so I'd advise you to take some time to read some introductory materials at this point. If you type help.start() into your R session, a good introductory manual will be available. 2) You don't need any of this textConnection business,

[R] boxplot

2011-10-13 Thread Ruth Arias
hello I want to make a boxplot with diferents rows and also include a column to sort into two groups to each of the other columns my  date set looks like this: 4        5        6        7        8        site 23    56        41      45    63         C 21    89        42      10   63        E

Re: [R] boxplot

2011-10-13 Thread R. Michael Weylandt
I'm not sure what the column to identify other the other columns maps to graphically, but perhaps something like this will get you started V - read.table(textConnection( 45678site 235641 4563 C 218942 10 63

[R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
People, It appears that there is no way of getting Boxplots to plot using Mean, SD, Max Min - is there something else that would do what I want? I couldn't find it . . Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: p...@pricom.com.au

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread ONKELINX, Thierry
:57 Aan: r-h...@stat.math.ethz.ch Onderwerp: [R] Boxplot BUT with Mean, SD, Max Min ? People, It appears that there is no way of getting Boxplots to plot using Mean, SD, Max Min - is there something else that would do what I want? I couldn't find it . . Thanks, Phil

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Gabor Grothendieck
On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades p...@pricom.com.au wrote: People, It appears that there is no way of getting Boxplots to plot using Mean, SD, Max Min - is there something else that would do what I want?  I couldn't find it . . Try replacing the stats component of boxplot's

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread William Dunlap
-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Gabor Grothendieck Sent: Monday, September 26, 2011 7:36 AM To: p...@pricom.com.au Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] Boxplot BUT with Mean, SD, Max Min ? On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
Gabor, On 2011-09-27 00:35, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades p...@pricom.com.au wrote: People, It appears that there is no way of getting Boxplots to plot using Mean, SD, Max Min - is there something else that would do what I want?  I couldn't

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Vining, Kelly
...@stat.math.ethz.ch Subject: Re: [R] Boxplot BUT with Mean, SD, Max Min ? If you draw the whiskers out to the extrema of the data you may wish to omit the outliers, which are encoded by the out and group components of boxplot's return value: d - split(Nile, factor(time(Nile)1902, labels=c(pre

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Gabor Grothendieck
On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27 00:35, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades p...@pricom.com.au wrote: People, It appears that there is no way of getting Boxplots to plot using Mean, SD,

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27 00:35, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades p...@pricom.com.au wrote: People, It appears

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread William Revelle
Dear Phil, An alternative solution is to draw a regular Tukey Box Plot but overlay the means +/- 1 sd: boxplot(anscombe) psych:::error.bars(anscombe,sd=TRUE,add=TRUE) Bill At 3:45 AM +1000 9/27/11, Philip Rhoades wrote: Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Gabor Grothendieck
On Mon, Sep 26, 2011 at 1:45 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27 00:35, Gabor Grothendieck wrote: On Mon, Sep 26, 2011

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Philip Rhoades
Gabor, On 2011-09-27 04:31, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 1:45 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Gabor Grothendieck
On Mon, Sep 26, 2011 at 3:24 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27 04:31, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 1:45 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On Mon, Sep 26, 2011

Re: [R] Boxplot BUT with Mean, SD, Max Min ?

2011-09-26 Thread Petr PIKAL
Gabor, Bill, On 2011-09-27 02:51, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades p...@pricom.com.au wrote: Gabor, On 2011-09-27 00:35, Gabor Grothendieck wrote: On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades p...@pricom.com.au wrote:

[R] boxplot from mean and SD data

2011-08-24 Thread Alejandro González
Dear all, I have a dataset of 3 categorical factors, the mean and the standard deviation of each value. I want to use these values to plot a boxplot, grouped by each of the 3 categorical factors (24 boxplots in total). I don't have a clue on how to do the boxplot from mean and SD data already

[R] Boxplot orders

2011-08-24 Thread Phoebe Jekielek
Hi there, I have length data of an organism over the year and I want to make a boxplot. I get the boxplot just fine but the months are all out of order. In the data set they are in order from Jan-Dec...how can I fix this problem? Thanks so much in advance!! Phoebe [[alternative HTML

Re: [R] Boxplot orders

2011-08-24 Thread Weidong Gu
At default, factors (months) are alphabetically leveled. You can explicitly re-level months months-factor(months,levels=c('Jan','Feb','Mar',...,'Dec')) Then it should work. Weidong Gu On Wed, Aug 24, 2011 at 10:45 AM, Phoebe Jekielek phoebe...@gmail.com wrote: Hi there, I have length data

Re: [R] Boxplot orders

2011-08-24 Thread David Winsemius
On Aug 24, 2011, at 8:36 PM, Weidong Gu wrote: At default, factors (months) are alphabetically leveled. You can explicitly re-level months months-factor(months,levels=c('Jan','Feb','Mar',...,'Dec')) ?Constants month.abb [1] Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec No pi in

[R] Boxplot in order

2011-05-05 Thread Silvano
Hi, I need construct box plot graph, but I want keep Groups order karla = data.frame( Groups = factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'), 11)), Time = rep(c(0,7,14,21), 11), Resp = valor ) boxplot(Resp~Groups, order=T) doesn't work. How do this?

Re: [R] Boxplot in order

2011-05-05 Thread Dennis Murphy
Hi: Try this: karla = data.frame( Groups = factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'), 11), levels = c('CPre','SPre','C7','S7','C14','S14','C21','S21')), Time = rep(c(0,7,14,21), 11), Resp = rnorm(88) ) boxplot(Resp~Groups, data = karla) Since you didn't

Re: [R] boxplot with 2 treatments and 2 variables (with 2 corresponding y-axes)

2011-04-17 Thread Uwe Ligges
On 15.04.2011 16:20, Ellis, David wrote: Hi, I am a complete newcomer to R and although I can plot standard box-plots I am struggling with this... I have two treatments - A B, and 2 variables 1 2. I want to compare boxplots of variable 1 with variable 2 for each treatment. I would also

Re: [R] Boxplot with two or more Y vectors

2011-04-17 Thread Uwe Ligges
On 13.04.2011 15:58, Håvard Wahl Kongsgård wrote: Hi, for a simple boxplot in R, in the formula is it possible to include two or more Y vectors directly. Or is that only possibility by aggregating the data first? Do you think about something like boxplot(cbind(y1, y2)) ? Uwe Ligges

[R] boxplot with 2 treatments and 2 variables (with 2 corresponding y-axes)

2011-04-15 Thread Ellis, David
Hi, I am a complete newcomer to R and although I can plot standard box-plots I am struggling with this... I have two treatments - A B, and 2 variables 1 2. I want to compare boxplots of variable 1 with variable 2 for each treatment. I would also like them to all be on the same graphic. I

[R] Boxplot with two or more Y vectors

2011-04-13 Thread Håvard Wahl Kongsgård
Hi, for a simple boxplot in R, in the formula is it possible to include two or more Y vectors directly. Or is that only possibility by aggregating the data first? -- Håvard Wahl Kongsgård Peace Research Institute Oslo (PRIO) http://havard.security-review.net/ [[alternative HTML

Re: [R] Boxplot problem

2011-03-09 Thread Dennis Murphy
Hi: A box plot is based on a five number summary, so you need at a minimum five observations (and preferably at least twice that) to make a box plot a viable summary measure for a continuous variable. Consider other graphical summaries for these data - perhaps a strip chart or a simple

Re: [R] Boxplot problem

2011-03-09 Thread Lao Meng
No,even there's only one observation,boxplot can still be drawn. x-1 boxplot(x) or x-1:3 boxplot(x) ... 2011/3/9 Dennis Murphy djmu...@gmail.com Hi: A box plot is based on a five number summary, so you need at a minimum five observations (and preferably at least twice that) to make a

Re: [R] Boxplot problem

2011-03-09 Thread Gaurav Kumar
, India. --- On Wed, 9/3/11, Lao Meng laomen...@gmail.com wrote: From: Lao Meng laomen...@gmail.com Subject: Re: [R] Boxplot problem To: Dennis Murphy djmu...@gmail.com Cc: gau...@gauravkumar.org, R help r-help@r-project.org Date: Wednesday, 9 March, 2011, 1:47 PM No,even there's only one observation

Re: [R] Boxplot problem

2011-03-09 Thread Peter Ehlers
On 2011-03-09 00:17, Lao Meng wrote: No,even there's only one observation,boxplot can still be drawn. x-1 boxplot(x) or x-1:3 boxplot(x) ... Well, yes, it *can* be drawn. But it shouldn't be. A boxplot based on fewer than, say, 10 values is just nonsense. Even 10 is pretty dubious. Anyway,

[R] Boxplot problem

2011-03-08 Thread Gaurav Kumar
Dear R-user, I'm facing problem to draw boxplot. I can draw my boxplot but the space option is not working for me. I've no clues where i'm doing wrong my data is as matrix as shown below:     [,1] [,2] [1,]   98  60 [2,]   96  70 [3,]   95  80 and i'm plotting as

[R] Boxplot for X Vs Y variable grouped by ID

2011-02-26 Thread Shankar Lanke
Dear All, I am new to R. I amazed by this software. I have a question regarding boxplot. I have three columns say X, Y,ID (X is time from 0 to 12 hrs, Y is a variable dependent on X) I can plot a simple boxplot if it is just one group. But I have 10 groups and I want to plot all of them in one

Re: [R] Boxplot for X Vs Y variable grouped by ID

2011-02-26 Thread David Winsemius
On Feb 26, 2011, at 1:07 AM, Shankar Lanke wrote: Dear All, I am new to R. I amazed by this software. I have a question regarding boxplot. I have three columns say X, Y,ID (X is time from 0 to 12 hrs, Y is a variable dependent on X) I can plot a simple boxplot if it is just one group. But I

Re: [R] Boxplot not doing what I think it should

2011-02-26 Thread Uwe Ligges
to ?boxplot.stats and that points to Tukey's original ?fivenum. Uwe Ligges -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Lewis Berman Sent: Thursday, February 24, 2011 8:38 AM To: r-help@R-project.org Subject: [R

[R] Boxplot not doing what I think it should

2011-02-24 Thread Lewis Berman
My box plot below is drawing its upper whisker all the way to the last point, instead of showing the point as an outlier. Am I misunderstanding, or is it a bug? Help(boxplot) states for the parameter “range” that “this determines how far the plot whiskers extend out from the box. If range is

Re: [R] Boxplot not doing what I think it should

2011-02-24 Thread Greg Snow
Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Lewis Berman Sent: Thursday, February 24, 2011 8:38 AM To: r-help@R-project.org Subject: [R] Boxplot not doing what I think it should My

Re: [R] Boxplot

2011-01-28 Thread Tal Galili
This should do it: boxplot(log(a[,2:52]),main = list.files()[3],col = c(red, green)) Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il

Re: [R] boxplot - code for labeling outliers - any suggestions for improvements?

2011-01-28 Thread Jim Lemon
On 01/28/2011 07:57 AM, Greg Snow wrote: Try: library(TeachingDemos) plot(Sepal.Length~Sepal.Width, data=iris) tmp.y- iris$Sepal.Length for( i in unique(iris$Sepal.Width) ) { tmp- iris$Sepal.Width == i tmp.y[ tmp ]- spread.labs( tmp.y[tmp], .6*strheight('A'),

[R] boxplot - how to supress groups with low counts

2011-01-28 Thread pdb
In a boxplot - how can I prevent groups where the number of cases is less than a set threshold from being plotted. set.seed(42) DF - data.frame(type=sample(LETTERS[1:5], 100, replace=TRUE), cost=rnorm(100)) count - boxplot(cost ~ type, data=DF, plot = 0) count$n ## how to only include

Re: [R] boxplot - how to supress groups with low counts

2011-01-28 Thread Uwe Ligges
On 28.01.2011 14:21, pdb wrote: In a boxplot - how can I prevent groups where the number of cases is less than a set threshold from being plotted. set.seed(42) DF- data.frame(type=sample(LETTERS[1:5], 100, replace=TRUE), cost=rnorm(100)) count- boxplot(cost ~ type, data=DF, plot = 0)

Re: [R] boxplot - how to supress groups with low counts

2011-01-28 Thread Peter Ehlers
On 2011-01-28 06:09, Uwe Ligges wrote: On 28.01.2011 14:21, pdb wrote: In a boxplot - how can I prevent groups where the number of cases is less than a set threshold from being plotted. set.seed(42) DF- data.frame(type=sample(LETTERS[1:5], 100, replace=TRUE), cost=rnorm(100)) count-

Re: [R] boxplot - code for labeling outliers - any suggestions for improvements?

2011-01-28 Thread Tal Galili
Hello Greg, Kevin, Jim and other R-help members, Regarding text spacing: Drew Conway published today a fascinating post about Building a Better Word Cloud. I don't know if his function can help you (or if either of you might help him with his code). But either way, I think it's worth reading his

Re: [R] boxplot - code for labeling outliers - any suggestions for improvements?

2011-01-27 Thread Tal Galili
- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Tal Galili Sent: Wednesday, January 26, 2011 4:05 PM To: r-help@r-project.org Subject: [R] boxplot - code for labeling outliers - any suggestions for improvements? Hello all, I wrote a small function

Re: [R] boxplot - code for labeling outliers - any suggestions for improvements?

2011-01-27 Thread Kevin Wright
-project.org Subject: [R] 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

Re: [R] boxplot - code for labeling outliers - any suggestions for improvements?

2011-01-27 Thread Greg Snow
...@gmail.com] Sent: Thursday, January 27, 2011 10:27 AM To: Tal Galili Cc: Greg Snow; r-help@r-project.org Subject: Re: [R] boxplot - code for labeling outliers - any suggestions for improvements? My colleagues that use one of the .Net languages/libraries can make scatter plots that look

[R] Boxplot

2011-01-27 Thread Ramya
Hi, I have 25 normal and 25 tumor samples and generated 50 boxplots one for each Is there a possibility to alternate the colors for the boxplots Green Red Green Red. Example: A B C D 10 23 23 34 20 24 24 30 20 2434 34 this would generate 4 boxplot one for each. I want the boxplot

<    1   2   3   4   >