Displaying 20 results from an estimated 600 matches similar to: "Lines connecting the boxes in a boxplot"
2003 Apr 16
2
barplot2
Hello,
I get a nice looking barplot using the barplot2 function in the gregmisc
package:
body2 <- barplot2(hh3, beside = TRUE,
col = c("mistyrose", "lightcyan"),
....
cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu,
plot.grid = TRUE)
box()
However, obviously I lose the collors when converting from ps to a pdf
(outside of R)
2007 Jul 16
1
Problem to sort factor
Hello,
I'm having a problem renaming and sorting the underlying factor of a
ggplot2 based plot. Here's my code:
---8<----------
> delta <- ggplot(subset(data, Model==c("dyn", "dl4", "dl3")), aes(x=Problemsize, y=Fitness)) +
geom_smooth(size=1, color="black", fill=alpha("blue", 0.2))+
geom_point(size=0.5,
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 :
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
Dear R graphics gurus,
Another question about lattice graphics. This time I would like to plot
means and confidence intervals by group factor in a lattice graph. I can
not find any working lattice examples. Maybe a custom panel function is
the answer, but that is a bit beyond me for now.
The individual plots within the lattice graph could look like this:
# Example with confidence intervals
2012 Aug 15
4
boxplot help
Hi, im a newbie with very wobbly coding abilities.
Tearing my hair out over getting the boxplot i want...
I have a dataset called 'eagle' which consists of year (2011 or 2012), month
(jan - dec), roof (TT6, TT13 or BARE) and temp (the continuous variable that
i want to plot).
So i want boxplots of the three roof treatments in every month organised in
chronical order along x axis 2011 -
2008 Sep 12
2
Again, about boxplot
Thank you for your guys reply for my previous question. But I got one more
question about the boxplot. With the code in the R-help:
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
ylab =
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,
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
2010 Sep 26
2
Changing x-axis on boxplot
Dear List,
?
I am creating a boxplot with two subsets, very similar to the example by Roger
Bivand at ?boxplot (reproduced below).? I am trying to change the labels on the
x-axis to have one number to cover both subsets.? I can do this in other plots
by using axis=FALSE followed by a separate axis() command.? I have also tried
variations in the names= argument but can't get it to work.?
2011 Aug 18
1
Specifying data point locations on x-axis using boxplot() and points()
Hi all,
I would like to ask a question with regard to R graphics. I am currently
trying to add data points in boxplots using points(). In my script, I add
up boxplots three times using add=TRUE. I use points() every time I add
boxplots, and I see data points. However, I see all data points are clustered
at three specific points on x-axis; the locations of the data points
are not overlapping with
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
2014 Jan 10
2
How to treat UPS status of TRIM as on line
I am using NUT 2.6.5 as part of FreeNAS 9.2.0. I am using an APC Smart-UPS
5000 RM DL4 with a AP9619 network management card. NUT properly detects
when the UPS goes on battery and initiates a shutdown after the configured
time. The problem I have is that I am using a 208V unit on a 240V circuit.
That means the normal state for the UPS is "TRIM". NUT doesn't treat that
as an on line
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
2004 Mar 10
3
Center labels on a boxplot
Suppose that I have data on three species for a variable and datasets
from two time periods. I want to make a boxplot of the first dataset and
then add the second using 'at = ' and 'add = T' as in the example for
'boxplot.'
Since the boxes are paired by species, I want to do is have the x labels
be centered between the boxes. I'm doing this now with mtext and
entering
2010 Nov 29
1
surpressing tickmarks / labels x-as for two sets of boxplot (plotted as stacked boxplots)
Hello,
I am trying to plot two sets of boxplots together. These are estimates of two
experiments and?seven?factors.
The results of the two experiments I want to plot as boxplots stacked to each
other.
Therefore I plot first the results of the first experiment; and next with the
add option the second set of boxplots.
The boxplots are plotted at 'at = 1:7 - 0.15 for the first experiment and
2012 Feb 15
2
Error in rep.int(boxwex, n) : negative length vectors are not allowed
Dear All,
I tried to invoke plot for a matrix of?196475 x2 dimension. I loaded the data with read.table. On one dimension, there are strings (names) and on the other dimension, the floats between 0 and 1. When I invoked plot by setting x to names and y to floats and ylim = c(0,1), I got the following error message:
Error in rep.int(boxwex, n) : negative length vectors are not allowed
Does it
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
2008 Feb 04
7
adding the mean and standard deviation to boxplots
Dear list,
How can I add the mean and standard deviation to each of the boxplots using the example provided in the boxplot function?
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
2014 Jan 11
0
How to treat UPS status of TRIM as on line
On Jan 10, 2014, at 12:58 PM, Elliot Dierksen wrote:
> I am using NUT 2.6.5 as part of FreeNAS 9.2.0. I am using an APC Smart-UPS
> 5000 RM DL4 with a AP9619 network management card. NUT properly detects
> when the UPS goes on battery and initiates a shutdown after the configured
> time. The problem I have is that I am using a 208V unit on a 240V circuit.
> That means the normal
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