Displaying 2 results from an estimated 2 matches for "depthm".
Did you mean:
depth
2010 Nov 21
2
boxplot: reverse y-axis order
...er most part of the y-axis and 3 at the axis intercepts. I've tried
the experiment approach to no avail, meaning I've placed rev(...) around
various arguments but with wrong results.
Thanks,
Eric
df<-read.table(textConnection("Field Date AvgWTD Region variable value hole
depth depthM
204 17-Aug-00 2.897428989 US R1 NA R 1 0
205 17-Aug-00 4.017264366 US R1 1.01 R 1 0
206 10-Jun-03 NA US R1 1.19 R 1 0
207 26-May-04 NA US R1 1.6 R 1 0
207 29-May-03 NA US R1 1.23 R 1 0
207 17-Aug-00 NA US R1 1.82 R 1 0
21 03-Jun-99 1.896872044 US R1 NA R 1 0
22 10-Aug-00 1.546097994 US R1 1.3 R 1 0...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...tik.tu-dortmund.de>
Cc: r-help at r-project.org
Subject: Re: [R] boxplot: reverse y-axis order
Message-ID: <scea69e8.069 at tedmail.lgc.co.uk>
Content-Type: text/plain; charset=US-ASCII
A simple alternative is to use "at" to contrl plot locations:
boxplot( ..., at=rev(1:nlevels(depthM)))
which just rearranges where they are plotted.
Example:
set.seed(1023)
x <- gl(5, 5)
y<-rnorm(25)
boxplot(y~x, horizontal=TRUE)
boxplot(y~x, at=rev(1:nlevels(x)), , horizontal=TRUE)
Steve E
>>> Uwe Ligges <ligges at statistik.tu-dortmund.de> 21/11/2010 19:38:54
>>...