[Rd] proposed patch to Uniform.Rd

Ben Bolker bolker at ufl.edu
Sun Jan 4 20:16:23 CET 2009


  In the wake of discussions about documentation of R's
random number generation (and whether there should be links
to .Random.seed in other places), here is a proposed patch
to Uniform.Rd from 2.8.1.  (Watch out for line breaks.)
[R-core may choose not to accept this, but at least it's
easy if they want it.]

  cheers
    Ben Bolker


*** Uniform.Rd.orig	2009-01-04 14:10:47.000000000 -0500
--- Uniform.Rd	2009-01-04 14:12:26.000000000 -0500
***************
*** 49,54 ****
--- 49,58 ----
    \code{max = min} or \code{max-min} is small compared to \code{min},
    and in particular not for the default arguments.
  }
+ \note{The characteristics of output from pseudo-random
+ number generators (such as precision and periodicity) vary widely.  See
+ \code{\link{.Random.seed}} for more information on R's random number
+ generation algorithms.}
  \references{
    Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
    \emph{The New S Language}.

-- 
Ben Bolker
Associate professor, Biology Dep't, Univ. of Florida
bolker at ufl.edu / www.zoology.ufl.edu/bolker
GPG key: www.zoology.ufl.edu/bolker/benbolker-publickey.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20090104/2ab836a3/attachment.bin>


More information about the R-devel mailing list