[R] (R) Using arguments for the empirical cumulative distribution function

2007-07-19 Thread squall44
Hi, I have just started using R. Now I have the following problem: I want to create an Empirical Cumulative Distribution Function and I only came so far: F10 - ecdf(x) plot(F10, verticals= TRUE, do.p = TRUE, lwd=3) x=c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) Now I'd like to use arguments such

Re: [R] (R) Using arguments for the empirical cumulative distribution function

2007-07-20 Thread squall44
Is there no one who can help me? :,( -- View this message in context: http://www.nabble.com/%28R%29-Using-arguments-for-the-empirical-cumulative-distribution-function-tf4111355.html#a11705448 Sent from the R help mailing list archive at Nabble.com.

[R] Labelling certain points on the x-axis

2007-08-20 Thread squall44
Hello, I created an empirical distribution function: x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) F2.5 - ecdf(x) plot(F2.5, verticals= TRUE, do.p = TRUE, lwd=3, ylab = f(x), xlab = x, main = Figur 2.5 Empirische Verteilfunktion, xlim = c(1,5.5))

[R] Question about writing some code

2007-08-20 Thread squall44
, add=FALSE, horizontal=TRUE, main=Figur 2.6 Boxplot, axes=FALSE) Thanks for any help, Squall44 -- View this message in context: http://www.nabble.com/Question-about-writing-some-code-tf4297359.html#a12231853 Sent from the R help mailing list archive at Nabble.com

[R] Subscript

2007-08-20 Thread squall44
I have the following code: mtext(text=X[1]) How can I change [1] to be subscript? (see picture below) http://www.nabble.com/file/p12241351/subscript.gif subscript.gif Thanks for any help Tobias -- View this message in context: http://www.nabble.com/Subscript-tf4300665.html#a12241351 Sent

[R] displaying the means on a scatter diagram

2007-08-22 Thread squall44
Hello, I created a simple scatter diagram: x= c(53, 52, 55, 65, 71, 69, 75, 78, 88, 70) y= c(162, 165, 165, 171, 173, 175, 179, 181, 184, 176) plot(x, y) Now I would like to display the mean on that diagram. Can anyone tell me what possibilities I have to do that? Thanks in advance Tobias

[R] Histogram

2007-08-23 Thread squall44
Hello, I wanted to create a histogram, but somehow I got stuck... The interval limits are: x = 1, 2, 3, 3.5, 4.5, 5, 5.5 The interval widths are therefore: 1, 1, 0.5, 1, 0.5, 0.5 Nothing I tried worked... Can anyone help me please? Thanks Tobias -- View this message in context:

[R] Two graphs, align vertically

2007-08-23 Thread squall44
Hi, I created an ecdf and a boxplot. Now I would like to place the ecdf above the boxplot. But I only managed to align them horizontally. I used this code: #--- par(mfrow=c(1,2), mar=c(5,3,3,1)) # ecdf library(plotrix) x =

Re: [R] Histogram

2007-08-23 Thread squall44
), ylim=c(0,5)) #--- ...which didn't work. I tried many other variations, but I am a beginner. If anyone can give me a clue, I'd be very thankful. Tobias Uwe Ligges wrote: squall44 wrote: Hello, I wanted to create a histogram, but somehow I got stuck... The interval limits

Re: [R] Two graphs, align vertically

2007-08-23 Thread squall44
and only then I ask questions, if it is that what you're worrying about... Regards Tobias Uwe Ligges wrote: squall44 wrote: Hi, I created an ecdf and a boxplot. Now I would like to place the ecdf above the boxplot. But I only managed to align them horizontally. I used this code

[R] changing text direction of mtext

2007-08-24 Thread squall44
Hello, Does anyone know if it's possible to change the text direction of mtext? I'd like to use 'mtext(side=2)' but the text should be 'left-to-right'. I couldn't find an argument for that in the help files. Thanks for any suggestions Tobias -- View this message in context:

Re: [R] changing text direction of mtext

2007-08-24 Thread squall44
' to adjust the mtext vertically. That way, the mtext not move relativly to the y-axis. Can anyone help me to get around this problem, please? Thx Tobias squall44 wrote: Hello, Does anyone know if it's possible to change the text direction of mtext? I'd like to use 'mtext(side=2

[R] Histogram

2007-08-31 Thread squall44
Hello, Although I've done lots of research on histograms, I'm still not able to create one. I'd be glad if someone could explain them to me. That's what it eventually should look like: http://www.nabble.com/file/p12423193/histogram.gif The interval limits are: (0), 1, 2, 3, 3.5, 4.5, 5, 5.5,