Use the 'at' argument to boxplot. E.g.,
> x <- rep(c(2,4,8,16), c(5,10,20,30))
> y <- seq_along(x)
> par(mfrow=c(2,1))
> boxplot(y~x, at=unique(x))
> boxplot(y~x)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Sep 28, 2018 at 3:05 AM, Luigi Marongiu
wrote:
> Dear all,
> I am using boxp
Do you also want lines 38 and 39 (in addition to 40:44), or do I
misunderstand your problem?
When you deal with runs of data, think of the rle (run-length encoding)
function. E.g. here is
a barely tested function to find runs of a given minimum length and a given
difference between
successive val
Hi Jim,
thank's it is working with the given example,
but whats the difference when using
testdata=data.frame(TIME=c("17:11:20", "17:11:21", "17:11:22",
"17:11:23", "17:11:24", "17:11:25", "17:11:26", "17:11:27", "17:11:28",
"17:21:43",
"17:22:16", "17:22:19", "18:04:48"
install.packages("HH")
library(HH)
system.file("demo/bwplot.examples.r", package="HH")
demo("bwplot.examples", package="HH", ask=FALSE)
## your example
dfA <- data.frame(X, Y=c(A, B, C))
dfA$X.factor <- factor(dfA$X)
position(dfA$X.factor) <- c(1,3,5)
bwplot(Y ~ X.factor, panel=panel.bwplot.interm
Hi Luigi,
An easy way is to use "points" to overplot the outliers:
grbxp<-boxplot(dfA$Y ~ dfA$X,
ylim=c(0, 200),
col="green",
ylab="Y-values",
xlab="X-values"
)
points(grbxp$group,grbxp$out,col="green")
On Fri, Sep 28, 2018 at 7:51 PM Luigi Marongiu wrote:
>
Dear all,
I am using boxplot to draw some data. Would be possible to have the
X-axis linear (as in a scatter plot) instead of the standard
categorical axis?
The data I have is subdivided into three groups at the numerical
values 1, 3, 5; boxplot treats these as categorical values; in fact, I
can wr
Dear all,
I am trying to overlap two series of boxplots on the same graph. In
order to distinguish the outliers from one series to the other, would
be possible to colour the outliers?: instead of the standard black, is
it possible to give a chosen colour?
Thank you
>>>
This is the example. I could
On Fri, Sep 28, 2018 at 2:16 PM Bert Gunter wrote:
>
> Do you mean:
> ?get
Doesn't work with :: etc:
> get("graphics::box")
Error in get("graphics::box") : object 'graphics::box' not found
I think parse()+eval() is pretty much unavoidable. After that, it's a
choice between deparse() and print()
Do you mean:
?get
On Thu, Sep 27, 2018, 11:44 PM Sigbert Klinke
wrote:
> Hi,
>
> I guess I was not clear enough: the name of the function is stored as
> string. Solutions which use the object directly do not help unfortunately.
>
> Thanks Sigbert
>
> Am 27.09.2018 um 12:30 schrieb Sigbert Klin
9 matches
Mail list logo