[R] plot cdf
Romain Francois
francoisromain at free.fr
Thu Apr 27 23:02:54 CEST 2006
Le 27.04.2006 18:06, Martin Maechler a écrit :
>>>>>> "ronggui" == ronggui <ronggui.huang at gmail.com>
>>>>>> on Thu, 27 Apr 2006 19:27:04 +0800 writes:
>>>>>>
>
> ronggui> I think curve is one option. for example , I can
> ronggui> use "curve(pnorm,-5,5)" to plot the normal cdf.
>
> ronggui> use ?curve to get the usage.
>
> Or Luck might mean the *empirical* cdf, and then
> plot(ecdf(..))
> solves it; type
> example(ecdf)
> to see a few examples -- maybe after first saying
> par(ask = TRUE)
>
> Martin Maechler, ETH Zurich
>
About that, i think it would be useful to add an option 'ask' in
'example', maybe with a default to TRUE in interactive mode
Romain
--
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
mixmod 1.7 is released : http://www-math.univ-fcomte.fr/mixmod/index.php
+---------------------------------------------------------------+
| Romain FRANCOIS - http://francoisromain.free.fr |
| Doctorant INRIA Futurs / EDF |
+---------------------------------------------------------------+
More information about the R-help
mailing list