Re: [R] Box Plot size and labels

2014-10-26 Thread Jeff Newmiller
Your code uses the default graphics output device (most likely the windows() device, guessing from your use of MSWord). The png() device might produce more consistent results. Since you are using RMarkdown, you may be using knitr which has chunk options that can be used to control the device use

[R] Box Plot size and labels

2014-10-26 Thread David Doyle
Hello, I'm doing some box plots in Rmarkdown to MS Word file. When they come into the word file they are not quite wide enough for labels for the different boxes. Is there a way for me to set the size the box plot would be so I can make it wider? Or reduce the font size so they can all fit on t

Re: [R] Box plot without original data

2014-04-04 Thread Jim Lemon
On 04/04/2014 05:36 PM, Mª Teresa Martinez Soriano wrote: Hi to everyone! I need to plot a box plot but I don't have the original data, is it possible to make it just with the median, mean, sd and range of values? Any idea is welcome. Hi Teresa, You can get the return value from the boxplot

[R] Box plot without original data

2014-04-03 Thread Mª Teresa Martinez Soriano
Hi to everyone! I need to plot a box plot but I don't have the original data, is it possible to make it just with the median, mean, sd and range of values? Any idea is welcome. Thanks in advance. __ R-help@r-pr

Re: [R] Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...

2013-07-17 Thread Olaf
Hello, you may just first change the boxplot.stats directly: boxplot.stats <- function (x, coef = NULL, do.conf = TRUE, do.out = TRUE) { nna <- !is.na(x) n <- sum(nna) stats <- quantile(x, c(.05,.25,.5,.75,.95), na.rm = TRUE) iqr <- diff(stats[c(2, 4)])

Re: [R] box plot and plot whiskers

2012-07-13 Thread S Ellison
> -Original Message- > I have question concerning box plot and it's whiskers. As I > understood from the description of the boxplot() function, if > the range value is positive the plot whiskers extend out from > the box to the most extreme data points defined by the values > of the

Re: [R] box plot and plot whiskers

2012-07-13 Thread David L Carlson
4352 - Original Message - From: "Barbara Uszczynska" To: r-help@r-project.org Sent: Friday, July 13, 2012 7:40:30 AM Subject: [R] box plot and plot whiskers Dear R users, I have question concerning box plot and it's whiskers. As I understood from the descrip

[R] box plot and plot whiskers

2012-07-13 Thread Barbara Uszczynska
Dear R users, I have question concerning box plot and it's whiskers. As I understood from the description of the boxplot() function, if the range value is positive the plot whiskers extend out from the box to the most extreme data points defined by the values of the IQR times range (default 1.5)

Re: [R] Box Plot under GUI (R Commander/RKward)

2011-05-17 Thread Dennis Murphy
Hi: I'm assuming this is a snippet of a much larger data set, because one certainly would not use box plots on singleton observations. You have four grouping variables in your example, so the best you could likely do on one graphics page would be to, for example, plot time vs. distance, 'dodged' b

Re: [R] Box Plot under GUI (R Commander/RKward)

2011-05-17 Thread Liviu Andronic
On Tue, May 17, 2011 at 2:15 PM, Jannis wrote: >  Otherwise I would stick to SPSS/Excel/Sigmaplot or browse for some R GUIs > with some basics beeing implemented on a "click basis" like RStudio, Rkward > or TinnR. All R GUI implementations are however limited to basic > plotting/analysis routin

Re: [R] Box Plot under GUI (R Commander/RKward)

2011-05-17 Thread Jannis
--- Vikas Garud schrieb am Di, 17.5.2011: > Von: Vikas Garud > Betreff: [R] Box Plot under GUI (R Commander/RKward) > An: r-help@r-project.org > Datum: Dienstag, 17. Mai, 2011 11:31 Uhr > Hi, > > I tried to search the mailing list on box plot, but could > not find

Re: [R] Box Plot under GUI (R Commander/RKward)

2011-05-17 Thread Timothy Bates
something like this will get you going, assuming your data are in a dataframe called “qual” # qual <- read.table(pipe("pbpaste"), header=T, sep='\t') boxplot(formula=Time~Distance+Season, data=qual) Followup question from me: i can’t see why boxplot(formula=Time, data=qual) should return the

[R] Box Plot under GUI (R Commander/RKward)

2011-05-17 Thread Vikas Garud
Hi, I am a consultant in Quality Management. I am exploring the use of R with any GUI - R commander/Rkward for doing analytical work. Have installed R, R Commander and Rkward. I hope to learn by doing various exercises that I use for teaching analytical techniques to my clients. I would be pos

Re: [R] Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...

2011-04-18 Thread Paul Raftery
Thank you both. Both solutions worked fine, but I'll probably end up going with fixInNamespace(boxplot.default, "graphics") as it allows me to use previously written script without making any further changes. Thanks again, Regards, Paul 2011/4/18 Uwe Ligges > > > On 17.04.2011 13:08, Paul Raf

Re: [R] Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...

2011-04-18 Thread Uwe Ligges
On 17.04.2011 13:08, Paul Raftery wrote: Hi all, I'm just getting started with R and I would appreciate some help. I'm having trouble creating a boxplot with whiskers at the 95th and 5th percentiles instead of at 1.5 * IQR. I have read the relevant documentation, and checked existing mails on

Re: [R] Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...

2011-04-17 Thread Frank Harrell
Try require(Hmisc) ?panel.bpplot This implements extended box plots that can show a variety of quantiles. Frank Paul Raftery wrote: > > Hi all, > > I'm just getting started with R and I would appreciate some help. I'm > having > trouble creating a boxplot with whiskers at the 95th and 5th perc

[R] Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...

2011-04-17 Thread Paul Raftery
Hi all, I'm just getting started with R and I would appreciate some help. I'm having trouble creating a boxplot with whiskers at the 95th and 5th percentiles instead of at 1.5 * IQR. I have read the relevant documentation, and checked existing mails on this topic. I found a small modification that

Re: [R] (box-) plot annotation: italic within paste?

2010-03-08 Thread Peter Ehlers
Here's a variation on the theme: boxplot(x[,i]) title(main = bquote(.(mainlabel1)~~italic(.(predictor[i]))~~.(mainlabel2)) ) -Peter Ehlers On 2010-03-08 8:46, Miguel Porto wrote: Hello, Try this way (not sure if it's the best way, but it works): boxplot(x[,i], main=substitute(expressi

Re: [R] (box-) plot annotation: italic within paste?

2010-03-08 Thread Miguel Porto
Hello, Try this way (not sure if it's the best way, but it works): boxplot(x[,i], main=substitute(expression(paste(a," ",italic(b)," ",c)),list(a=mainlabel1,b=predictor[i],c=mainlabel2)), ylab=paste(ylabel),cex.lab=cexalabel,cex.main=cexmlabel,cex.axis=1.5) Best, Miguel On Mon, Mar 8, 2010 at

[R] (box-) plot annotation: italic within paste?

2010-03-08 Thread Bernd Panassiti
Dear R users, in the example below the name of the genus will be displayed in the main titles using the variable predictor[i] and paste. I would like to have the genus name in italic. However all my attempts using expression and substitute failed. Does anybody know a solution? Thanks a lot in a

Re: [R] box plot

2009-10-05 Thread David Winsemius
On Oct 5, 2009, at 12:47 PM, Henrique Dallazuanna wrote: See family argument in ?par: par(family = 'serif') boxplot(rnorm(100), main = 'Title of Boxplot') On Mon, Oct 5, 2009 at 11:48 AM, kayj wrote: Hi All, I was wondering if if it is possible to change the font style and the font siz

Re: [R] box plot

2009-10-05 Thread Henrique Dallazuanna
See family argument in ?par: par(family = 'serif') boxplot(rnorm(100), main = 'Title of Boxplot') On Mon, Oct 5, 2009 at 11:48 AM, kayj wrote: > > Hi All, > > I was wondering if if it is possible to change the font style and the font > size for x labels, y labels and the main title for a box plo

[R] box plot

2009-10-05 Thread kayj
Hi All, I was wondering if if it is possible to change the font style and the font size for x labels, y labels and the main title for a box plot? Thanks -- View this message in context: http://www.nabble.com/box-plot-tp25752195p25752195.html Sent from the R help mailing list archive at Nabble.

[R] Box plot

2009-09-23 Thread alphaace
Hi, Is there a way I can plot the median as well as the quantiles in the actual boxplot using the "boxplot" command? Thanks -- View this message in context: http://www.nabble.com/Box-plot-tp25531261p25531261.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] Box Plot outliers label

2009-07-02 Thread Raphael Saldanha
Works very well for me! Very thanks! 2009/7/2 Henrique Dallazuanna > Try something about like this: > > bp <- boxplot(x ~ id, data = DF) > text(bp$group, bp$out, labels = "Teste", pos = 3) > > > On Thu, Jul 2, 2009 at 7:40 PM, Raphael Saldanha < > saldanha.plan...@gmail.com> wrote: > >> Hi! >> >

Re: [R] Box Plot outliers label

2009-07-02 Thread Henrique Dallazuanna
Try something about like this: bp <- boxplot(x ~ id, data = DF) text(bp$group, bp$out, labels = "Teste", pos = 3) On Thu, Jul 2, 2009 at 7:40 PM, Raphael Saldanha wrote: > Hi! > > How can I add labels in the outliers inside a boxplot. > > Here is my code, at now: > > mun <- as.data.frame(read.

[R] Box Plot outliers label

2009-07-02 Thread Raphael Saldanha
Hi! How can I add labels in the outliers inside a boxplot. Here is my code, at now: mun <- as.data.frame(read.csv2("consolidada_v3.csv")) micro <- mun$nmicro medprop <- mun$medprop mimedprop <- split(medprop, micro) boxplot(mimedprop, col="chartreuse3", main="Área média das propriedades rurai

Re: [R] Box Plot Text

2008-08-18 Thread Peter Alspach
lf Of Michael Grant > Sent: Tuesday, 19 August 2008 1:24 p.m. > To: r-help@r-project.org > Subject: [R] Box Plot Text > > Is there a easy way to insert text inside a boxplot as can be > done with plot using text(...)? > > > > Thanks, > &g

[R] Box Plot Text

2008-08-18 Thread Michael Grant
Is there a easy way to insert text inside a boxplot as can be done with plot using text(...)? Thanks, MCG [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] box-plot without a box surrounding the plot

2008-08-09 Thread Jörg Groß
par(bty="l") boxplot(count ~ spray, data = InsectSprays, col = "lightgray") #is that what you want? Stephen Thanks! That's what I needed. On Sat, Aug 9, 2008 at 8:12 PM, Jörg Groß <[EMAIL PROTECTED]> wrote: Hi, I want to draw a boxplot and I want to get rid of the surrounding box.

Re: [R] box-plot without a box surrounding the plot

2008-08-09 Thread stephen sefick
par(bty="l") boxplot(count ~ spray, data = InsectSprays, col = "lightgray") #is that what you want? Stephen On Sat, Aug 9, 2008 at 8:12 PM, Jörg Groß <[EMAIL PROTECTED]> wrote: > Hi, > > I want to draw a boxplot and I want to get rid of the surrounding box. > So that there are only the axis lines

[R] box-plot without a box surrounding the plot

2008-08-09 Thread Jörg Groß
Hi, I want to draw a boxplot and I want to get rid of the surrounding box. So that there are only the axis lines left on the bottom and on the left. I tried a litte bit with box() but I dont get it the way I want. Can somebody help me out? __ R-he

Re: [R] Box Plot With Groups being numbers

2008-01-31 Thread Longinus
Try: plot(as.factor(rivermile), measurements) On Jan 31, 2:02 pm, "stephen sefick" <[EMAIL PROTECTED]> wrote: > I would like to Summarize values that are repeated measures at a > certain river mile with box plot i.e. > > The data matrix looks like this > 123 124 125 #fiver mile

Re: [R] box plot

2008-01-31 Thread Rolf Turner
Note that R is case sensitive. (Hint: ``na'' is not the same thing as ``NA'' !!!) cheers, Rolf Turner On 1/02/2008, at 9:21 AM, stephen sefick wrote: > the data is attached > > I want to boxplot this data > > y<-read.table("afdmmgs.txt", header=T) > boxplot(y) > > Err

Re: [R] box plot

2008-01-31 Thread Douglas Bates
2008/1/31 stephen sefick <[EMAIL PROTECTED]>: > the data is attached Thanks. > I want to boxplot this data > > y<-read.table("afdmmgs.txt", header=T) > boxplot(y) At this point you should use str(y) to examine the structure of the data. > str(y) 'data.frame': 4 obs. of 12 variables: $ X21

[R] box plot

2008-01-31 Thread stephen sefick
the data is attached I want to boxplot this data y<-read.table("afdmmgs.txt", header=T) boxplot(y) Error in oldClass(stats) <- cl : adding class "factor" to an invalid object I get this error when I try and plot something with na in it can boxplot just overlook the na and boxplot the values?

Re: [R] Box Plot With Groups being numbers

2008-01-31 Thread Uwe Ligges
stephen sefick wrote: > I would like to Summarize values that are repeated measures at a > certain river mile with box plot i.e. > > The data matrix looks like this > 123 124 125 #fiver mile > 0.5 0.6 0.7 > 0.4 0.5 0.6 > ...... ...#values >

[R] Box Plot With Groups being numbers

2008-01-31 Thread stephen sefick
I would like to Summarize values that are repeated measures at a certain river mile with box plot i.e. The data matrix looks like this 123 124 125 #fiver mile 0.5 0.6 0.7 0.4 0.5 0.6 ...... ...#values I would like to make a boxplot with the r