Re: [Rd] Add on argument in seq()

2015-06-16 Thread Millot Gael
ok. Many thanks for your help ! Best, Gael. De : Gabriel Becker [mailto:gmbec...@ucdavis.edu] Envoyé : lundi 15 juin 2015 23:54 À : Hadley Wickham Cc : Millot Gael; r-devel Objet : Re: [Rd] Add on argument in seq() Millot, On Mon, Jun 15, 2015 at 9:19 AM, Hadley Wickham mailto:h.wick

Re: [Rd] Add on argument in seq()

2015-06-15 Thread Millot Gael
teger. And I haven't found in ?seq() the particular behavior of this function when length.out = 1. Thanks for your help ! Best, Gael. De : Gabriel Becker [mailto:gmbec...@ucdavis.edu] Envoyé : lundi 15 juin 2015 16:25 À : Millot Gael Cc : r-devel Objet : Re: [Rd] Add on argument in seq(

[Rd] Add on argument in seq()

2015-06-15 Thread Millot Gael
/mean, i.e. (from + to) / 2 when length.out = 1 ? Examples: > seq(from = 1, to = 11, length.out=1) # current method gives "from" 1 > seq(from = 1, to = 11, length.out=1) # alternative method gives the > intermediate value of "from" and "to" 6 Many thanks

[Rd] Add-on argument in sample()

2015-06-15 Thread Millot Gael
this and perform the sampling on a single value ? Examples: > sample(10, size = 1, replace = FALSE) 10 > sample(10, size = 3, replace = TRUE) 10 10 10 > sample(10, size = 3, replace = FALSE) Error Many thanks for your help. Best wishes, Gael Millot. Gael Millot UMR 3244 (IC-CNRS

Re: [Rd] Help page of colors() : add a new example ?

2012-01-31 Thread Millot Gael
Very nice graphic indeed ! One way or another, it would be useful to have such examples in the help page of colors(). Thanks for your time !! Best, Gael. > -Message d'origine- > De : Dennis Murphy [mailto:djmu...@gmail.com] > Envoyé : lundi 30 janvier 2012 19:51 >

[Rd] Help page of colors() : add a new example ?

2012-01-30 Thread Millot Gael
Dear all, May I suggest to add an example in the help page of the colors() function ? The following code could be useful to easily choose any color from colors() : ## Millot G. (2011), p.71. ## Figure displaying all the 657 built-in color names of colors(). palette(colors()) tempo<-NULL for(i in