Displaying 20 results from an estimated 5000 matches similar to: "basic boxplot questions"
2010 Feb 16
3
error : unused argument(s) when boxplot
Dear all,
I am a total beginner in R, so sorry if this is the wrong place. I am using R 2.10.1 on a Mac (Mac OS 10.6.2).
I have this small dataset :
growth sugar
75 C
72 C
73 C
61 F
67 F
64 F
62 S
63 S
I have no problem reading the table, or getting the summary, but if I try boxplot(growth~sugar, ylab="growth", xlab="sugar", data=Dataset), I have the following error :
2007 Mar 27
2
line style outliers in boxplot
Dear Users
Is there any way to generate lines instead of points for outliers in the boxplot
function?
Thanks
AA.
[[alternative HTML version deleted]]
2009 Aug 19
2
mild and extreme outliers in boxplot
dear all,
could somebody tell me how I can plot mild outliers as a circle(?) and
extreme outliers as an asterisk(*) in a box-whisker plot?
Thanks very much in advance
--
View this message in context: http://www.nabble.com/mild-and-extreme-outliers-in-boxplot-tp25040545p25040545.html
Sent from the R help mailing list archive at Nabble.com.
2010 Dec 07
2
robustbase problem [bug?] in adjbox function.
hello list,
i'm a bit puzzled by the error message i get when i copy past this in R:
2006 Mar 14
2
bwplot and outlier symbols
Hi,
I was just trying to figure out how to beautify the output of my
bwplot-output. Altogether I figured most of the things out on my own. The
one thing which puzzles me though are the symbols for the outliers.
I can easily change the form of the median symbol by using "pch" but I
don't know how to do this for outliers. Obviously the "outpch" of the
2004 Apr 05
1
normalized regression output
Hi: I would like to write a function that takes as its input a formula
and outputs normalized coefficients ( coef(x)*sdv(x)/sdv(y) ). now, a
formula is an object, and I cannot see how to extract the variables for
obtaining sdv's. the intent is to write something like
my.print.lm( formula ) {
model <- lm(formula);
coefs <- (t(summary.lm(model)))[1,];
tvals <-
2012 Mar 12
2
How to create interrupted boxplot
Hello,
I have created two boxplots with following R code. There is one outlier in
B group.
The outlier is 33. But the all other data are between 0 to 4.
How can I skip y-axis around 5 to 25, and expand 0-4 for this case. Also I
want keep the outlier in my boxplot.
I want my boxplot look like the second one, keep the outlier, and make an
interrupt of y-axis from 5 to 25.
Thanks,
Jianghong
2008 Sep 02
3
boxplot - label outliers
Hi All-
I have 24 boxplots on one graph. I do not have the whiskers extending
to the outliers, but I would like to label the maximum value of each
outlier above the whiskers. I have the stats but am having trouble
figuring out how to label the whiskers.
Any suggestions would be great!
sherri
2013 Mar 06
6
Ggplot2: Moving legend, change fill and removal of space between plots when using grid.arrange() possible use of facet_grid?
Hi,
# For publications, I am not allowed to repeat the axes. I have tried to
remove the axes using:
# yaxt="n", but it did not work. I have not understood how to do this in
ggplot2. Can you help me?
# I also do not want loads of space between the graphs (see below script
with Dummy Data).
# If I could make it look like the examples on the (nice) examples page:
#
2005 Mar 22
1
pch=NA (PR#7737)
I'd like to suggest changes to three help pages, regarding the use of
pch=NA to suppress plotting symbols. See below.
Arni
R 2.0.1 on WinXP
===
help(bxp)
===
The argument outpch=" " needs to be replaced with outpch=NA in two places.
I actually wrote this part of the documentation myself at one point, but
have now realized that pch=NA and pch=" " are not the same:
2008 Jan 07
3
Great looking plot - but what does it mean?
http://www.nabble.com/file/p14668788/paragraphs.png
Hi,
R is is world full of wonders... I created the attached plot, and I think
it's exactly what I need! Well, actually I think it is more that wht I
need...
I wanted R to show the mean values of the categories on the x-axis and maybe
the standard derivation as well.
I am pretty confident that the bold horrizontal lines in the plot show
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
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 =
2005 Sep 26
2
questions about boxplots
Hi, there.
I have two questions about using R to create boxplots.
1. The function boxplot() plots the outliers. How can I label the exact
values arount these outlier points? Does R have an option allow me to
do that?
2. How can I put two boxplots in one x-y axis?
Thanks.
Yulei
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Yulei He
276 Grove St. Apt 3
Newton, MA 02466
617-796-7834(H)
2006 Nov 12
2
Unexpected behavior in boxplot
When plotting using the cex.axis argument to boxplot(), the size of the
plotting symbols beyond the whiskers of the boxplot are being changes.
Example:
par(mfrow=c(2,1))
boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=2)
boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=1)
This is from the following line in bxp()
2012 Oct 03
1
can't see colors with "col" in boxplot()
Hi,
I am trying to color the data points on my boxplot but I only get the
default black.
Not sure why. Any ideas?
Thank you,
Mark
Here is my code.
> dat.g100 <- dat.sg[100,] # selected gene (row) from a dataframe of
37 columns
> d1 <- as.matrix(dat.g100[,1:18]) # subset 1
> d2 <- as.matrix(dat.g100[,19:37]) # subset 2
# boxplots
> par(mfrow=c(2,1))
> boxplot(d1,
2008 Aug 05
5
boxplot with average instead of median
I really like the ease of use with the boxplot command in R. I would
rather have a boxplot that shows the average value and the standard
deviation then the median value and the quartiles.
Is there a way to do this?
Chad Junkermeier, Graduate Student
Dept. of Physics
West Virginia University
PO Box 6315
210 Hodges Hall
Morgantown WV 26506-6315
phone: (304) 293-3442 ext. 1430
fax: (304)
2007 Feb 07
3
boxplot statistics in ggplot
I need to make weighted boxplots. I found that ggplot makes them. I
would however like to label them with the boxplot statistics (the
median, q1 and q3). In the boxplot function in r-base, I could output
boxplot statistics and then write a text on the plot to place the
labels. How would one do it with ggplot?
Vikas
2008 Jan 25
1
accessing the indices of outliers in a data frame boxplot
I have a data frame containing columns which are factors. I use this
to make boxplots for the data, with one box per factor. I would now
like to get at the data in the data frame which corresponds to the
outliers. I have so far found the $out, which gives "the values of any
data points which lie beyond the extremes of the whiskers", but I
haven't found anything which will let me get
2013 Mar 07
3
ggpliot2: reordering of factors in facets facet.grid(). Reordering of factor on x-axis no problem.
Hi everyone (again),
before you all start screaming that the reordering of factors has been
discusse on several threads and is not particular to ggplot2, hear me out.
I can easily reorder my x-axis factor in facet.grid() in ggplot2. What I
cannot reorder are the factors represented on the strips. I can see that the
graphs are changing, so I am afraid of what it is I am doing. Why is ggplot2