[R] Boxplots in Barplots

2009-04-06 Thread johnhj
Hii, Is it possible to put Boxplots at the top of the Barplots ? I will describe the standard derivation with a Boxplot at the of the Barplots. It could also be "line" instead of Boxplot... Can anybody help me how to do it ? greetings, j. -- View this message in context: http://www.nabble.c

[R] mtext in barplot

2009-04-05 Thread johnhj
Hii, Can anybody help me to put a text under the barplots. I will describe the percental between six grouped barplots. I tried to do it with mtext but without success. Here is my code: test <-read.table(file="D:/mobile.txt") pdf(file = "D:/mobil126.pdf", width = 6.67, height = 5, onefile =

[R] diversify the values of the x-Axis...

2009-03-25 Thread johnhj
Hii, Is it possible in R to write out to the graph the exact values of the X-Axis, even if the values are high ? I will avoid to get the values in this Form for example: 3e+06 Can anybody help ? -- View this message in context: http://www.nabble.com/diversify-the-values-of-the-x-Axis...-tp227

Re: [R] Problems with combining plots

2009-03-23 Thread johnhj
Hii baptiste, I tried you example, but I get still one plot and not as you said two plots ... I use R for Windows, could this have something to do with this problem ? baptiste auguie-2 wrote: > > > On 23 Mar 2009, at 11:52, johnhj wrote: > >> >> I have still the sam

Re: [R] Problems with combining plots

2009-03-23 Thread johnhj
row=c(1,2)). > > > -Original Message- > From: r-help-boun...@r-project.org on behalf of johnhj > Sent: Sun 3/22/2009 10:50 AM > To: r-help@r-project.org > Subject: [R] Problems with combining plots > > > Hii, > > I will combine some plots. Like this example here > ht

[R] Problems with combining plots

2009-03-22 Thread johnhj
Hii, I will combine some plots. Like this example here http://www.statmethods.net/advgraphs/layout.html I tired to do it for 2 plots but without success. Here is my code: test<-read.table(file="D:/file.txt") space<-read.table(file="D:/space.txt") space$gruppe <- 502*rep(1:6, each=7) x<- c(test

Re: [R] Plot and Boxplot in the same graph

2009-03-22 Thread johnhj
nction and the boxplots only for the x coordinates. A better solution could be to have a seperated y axis on the left side for the boxplots(). Is it possible to do it in this was ? Paul Johnson-11 wrote: > > On Fri, Mar 20, 2009 at 10:02 PM, johnhj wrote: >> >> Hii, >&g

[R] Plot and Boxplot in the same graph

2009-03-20 Thread johnhj
Hii, Is it possible, to use the plot() funktion and the boxplot() funktion together ? I will plot a simple graph and additionally to the graph on certain places boxplots. I have imagined to plot the graph a little bit transparency and show in the same graph on certain places boxplots Is it p

Re: [R] Save the elements of an atomic vector to a text fil

2009-03-16 Thread johnhj
textfile with: write.table(summary_vector, file= "(my file etc.)") But I cann't write 2 vectors with this function to a file... can anybody help how to do ? greetings, johnh Usuario R wrote: > > Hi, > > take a look to > > ?write.table > > regards > >

[R] changing the description of the x-axi

2009-03-16 Thread johnhj
Hii, Is it possible to change the description ot the x-axis ? I need some barplots with high x-axis values. After plotting the graph, the x-axis values are shown in this form: 0e+00 1e+06 2e+06 3e+06 4e+06 5e+06 6e+06 Can I change this description to numerary values, like 5354352 ? greetings

Re: [R] Save the elements of an atomic vector to a text fil

2009-03-13 Thread johnhj
Thank you all, I did it with "write.table"... greetings, johnh johnhj wrote: > > Hii, > > I will save the elements of the vector median<-with(x, tapply(V3, grup, > median)). The output of this vector is: > > 25 50 75 100 125 150 175 200

Re: [R] print median and sd...

2009-03-13 Thread johnhj
> understand what you are working with. Need to see what the structure > of 'x' and 'median' are. > > On Fri, Mar 13, 2009 at 8:35 AM, johnhj wrote: >> >> Hii Jholtman, >> >> I will make a graph of the median values and not to print to the co

[R] Save the elements of an atomic vector to a text fil

2009-03-13 Thread johnhj
Hii, I will save the elements of the vector median<-with(x, tapply(V3, grup, median)). The output of this vector is: 25 50 75 100 125 150 175 200 225 250 275 300 325 350 375 400 425 450 475 500 17.8 17.8 17.5 17.8 17.7 17.6 17.7 17.6 17.8 17.7 17.6 17.7 17.8 17.7 17.8 17.

Re: [R] print median and sd...

2009-03-13 Thread johnhj
if it is the plot, use 'text' with the appropriate > parameters. It would help if you listed the " I tried many things but > without success..." and what you were expecting vs. what you got. > Reproducible code would be useful (and required). > > On Thu, Mar 12, 2009

[R] print median and sd...

2009-03-12 Thread johnhj
Hii, Can anybody help me, I don't know how to print the "median". Below is my code snipplet... x <-read.table(file="D:/Uni/Diplom/Diplom/Grafiken/R/BATMAN/Kabel/Batman1hop/Standardabweichung__output_30_1_Kabel(30m)_b.txt") png(filename = "D:/Grafiken/R/Standardabweichung/Kopie.png", width =

[R] calculating standard deviation and variance

2009-03-03 Thread johnhj
Hiii, I have some problems to plot "standard deviation and variance" from a texfile. Ich have the following code so far: x <-read.table(file="new.txt") x$gruppe <- 100*rep(1:36, each=20) png(filename = "D:/Uni/new.png", width = 640, height = 480,pointsize = 12, bg = "white") boxplot(V3 ~

Re: [R] connecting boxplots

2009-01-13 Thread johnhj
23 21466 26 # maximumns > > > lines(boxplot(count ~ spray, data = InsectSprays, col = "lightgray") > $stats[c(1),] ) #adds the lines through minimums > > -- > David Winsemius > > On Jan 11, 2009, at 8:00 PM, johnhj wrote: > >

Re: [R] connecting boxplots

2009-01-13 Thread johnhj
wrote: > >>>>>> johnhj wrote: > > > Can you also describe me how to describe the standard > > deviation of the boxplots/matrices ? > > Try tapply: > > > x <-read.table(file="test.txt") > > x$group <- rep(1:8, eac

Re: [R] connecting boxplots

2009-01-12 Thread johnhj
quot; ... > > > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") > $stats[c(1,5),] > [,1] [,2] [,3] [,4] [,5] [,6] > [1,]770219 # minimums > [2,] 23 21466 26 # maximumns > > > lines(b

Re: [R] connecting boxplots

2009-01-11 Thread johnhj
In other words: I will connect the median, min and the max area of the boxplot with a line. The function lines() could help me, but I don't know which parameters the lines() function should have. johnhj wrote: > > Hii, > > I created some boxplots with this

[R] connecting boxplots

2009-01-11 Thread johnhj
Hii, I created some boxplots with this commands: x <-read.table(file="test.txt") x$group <- rep(1:8, each=5) boxplot(V3~gruppe, data=x) Now, I will connect the boxplots to each other to the min, max and median values. Can anybody help me how to do it ? greetings, J -- View this message in

Re: [R] Boxplot from matrices

2009-01-11 Thread johnhj
Gil Bellosta > http://www.datanalytics.com > > > > On Sun, 2009-01-11 at 05:23 -0800, johnhj wrote: >> Hii, >> >> I will create boxplots from matrices. I have the following data sets: >> 5.0 1.78 2.99 2.019 0 >> 10.0 1.79 3.00

[R] Boxplot from matrices

2009-01-11 Thread johnhj
Hii, I will create boxplots from matrices. I have the following data sets: 5.0 1.78 2.99 2.019 0 10.0 1.79 3.00 1.744 0 15.0 1.78 2.98 1.936 0 20.0 1.78 2.99 1.975 0 25.0 1.73 2.91 3.591 0 30.0 1.7