.BG M
.VE $Header: /usr3/s/current/s/data/.help/RCS/sample,v 1.2 83/12/30 23:10:09 rab Exp $
.FN sample
.TL
?sample: Random Sample
.CS
?sample(x, n)
.PP
.AG x
vector of data.
Missing values (NAs) are allowed.
.AG n
number of values from `x' to be included in the sample.
Default is to prompt the user for the desired sample size.
.RT
sample of `n' values randomly chosen from `x'.
.SH SEE ALSO
Function `sample'.
.EX
?sample(mydata,10)  # chose sample of 10 values from mydata
.KW basic*
.KW random
.KW distribution
.WR
