[R] sample function

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Jun 27 11:18:02 CEST 2003


R is not S-PLUS, and you need Modern Applied Statistics in S (4th ed) for a
description including R.

sample in R used a PRNG: see ?RNG in R for the details of PRNGs in R.

On Fri, 27 Jun 2003, [iso-8859-1] Ramzi Feghali wrote:

> i have a question about the "sample" function used in R, does it work as
> a pseudo-dandom number generator programmed with C, like it is described
> in Modern Applied Statics with S-Plus 3d edition chapter 5 section 2?


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list