Displaying 4 results from an estimated 4 matches for "staplecol".
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 :
2012 Sep 18
0
[Re] add reference lines (or grid) in background
Dear Luigi,
Here's an option:
boxplot(x, boxcol="white", whiskcol="white",medcol="white",staplecol="white")
abline(h=c(-1,0,1))
grid(NA, 4, lwd = 2)
boxplot(x,add=T)
Regards,
Jos? Iparraguirre
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Luigi
Sent: 18 September 2012 09:36
To: r-help at r-project.org
Subject...
2012 Sep 18
4
add reference lines (or grid) in background
Dear all,
Is there a simple way to add reference lines in background? I am trying with
abline() or grid() but the lines, since they are executed after the plot
function, are draw on top. How can I draw such lines beneath the main plot?
Here is an example:
x<-rnorm(100)
boxplot(x)
abline(h=c(-1,0,1))
grid(NA, 4, lwd = 2)
regards,
Luigi Marongiu, MSc
[[alternative HTML
2005 Sep 28
7
Plot Data Points in boxplots
Hello,
I would like to plot my data in a fashion similar to a boxplot, but
plot the true data points without a box, just overlay lines of the
summary generated by the boxplot. I have less than 10 observations
within each group, so I think showing the actual data would be more
effective than the box of the boxplot. I have been unable to find a way
to do this.
Here is example data:
>