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

AA aa2007r at gmail.com
Fri Jul 20 15:17:12 CEST 2007


Hi Tobias,
Maybe I do not understand the issue here but the following line adds main 
and xlab
plot(F10,verticals = TRUE, do.p = TRUE, lwd = 3, main = "myTitle", xlab = 
"myXlab")
You could find all this in the introduction manual. see r-project.org in the 
documentation section.
Good luck
AA.
----- Original Message ----- 
From: "squall44" <tobias.minder at bluewin.ch>
To: <r-help at stat.math.ethz.ch>
Sent: Thursday, July 19, 2007 10:13 AM
Subject: [R] (R) Using arguments for the empirical cumulative distribution 
function


>
> 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 as xlabs and main but I don't know how 
> to
> integrate them.
>
> I hope someone can help me, I am really stuck!
>
> -- 
> View this message in context: 
> http://www.nabble.com/%28R%29-Using-arguments-for-the-empirical-cumulative-distribution-function-tf4111355.html#a11690150
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list