Re: [R] plot cdf

2006-05-01 Thread Martin Maechler
 FrPi == François Pinard [EMAIL PROTECTED]
 on Thu, 27 Apr 2006 17:15:29 -0400 writes:

FrPi [Romain Francois]
 [...] it would be useful to add an option 'ask' in
 'example', maybe with a default to TRUE in interactive
 mode

FrPi Seconded.  `example(...)' would be more friendly for
FrPi the average use.

I've added it now to R-devel.
The default is  'ask = dev.interactive(orNone = TRUE)'
where dev.interactive() has also been extended with the 'orNone'
argument.

The not-entirely satisfying aspect is that it currently does
apply to traditional graphics only as opposed to 
grid-based graphics.

Martin

__
R-help@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


[R] plot cdf

2006-04-27 Thread Nongluck Klibbua
hi,
I would like to know what is the function to plot cdf.
Thanks,
Luck

__
R-help@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


Re: [R] plot cdf

2006-04-27 Thread ronggui
I think curve is one option.

for example , I can use curve(pnorm,-5,5) to plot the normal cdf.

use ?curve to get the usage.



2006/4/27, Nongluck Klibbua [EMAIL PROTECTED]:
 hi,
 I would like to know what is the function to plot cdf.
 Thanks,
 Luck

 __
 R-help@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



--
黄荣贵
Deparment of Sociology
Fudan University

__
R-help@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

Re: [R] plot cdf

2006-04-27 Thread Martin Maechler
 ronggui == ronggui  [EMAIL PROTECTED]
 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


ronggui 2006/4/27, Nongluck Klibbua
ronggui [EMAIL PROTECTED]:
 hi, I would like to know what is the function to plot
 cdf.  Thanks, Luck

__
R-help@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


Re: [R] plot cdf

2006-04-27 Thread Romain Francois
Le 27.04.2006 18:06, Martin Maechler a écrit :
 ronggui == ronggui  [EMAIL PROTECTED]
 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  |
+---+

__
R-help@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


Re: [R] plot cdf

2006-04-27 Thread François Pinard
[Romain Francois]

[...] it would be useful to add an option 'ask' in 'example', maybe 
with a default to TRUE in interactive mode

Seconded.  `example(...)' would be more friendly for the average use.

-- 
François Pinard   http://pinard.progiciels-bpi.ca

__
R-help@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