number of observations. If length(n) > 1, the length is taken to be the number required.
vals
data values.
replace
logical; if TRUE, sample with replacement.
log
logical; if TRUE (default), probabilities p are given as log(p).
lower.tail
logical; if TRUE (default), probabilities are P[X <= x]="" otherwise,="" p[x=""> x].=>
...
additional arguments.
Value
ddata gives the (log) density, pdata gives the distribution function,
qdata gives the quantile function, and rdata generates random deviates
treating vals as an enumeration of the population.
For rdata, the sampling can be either with or without replacement.