rand-method {Umpire} | R Documentation |
Method "rand"
Description
rand
is a generic function used to produce random vectors from the
distribution defined by various objects. The generic function invokes particular
methods
which depend on the class
of the first
argument.
Usage
## S4 method for signature 'ANY'
rand(object, n, ...)
Arguments
object |
an object from which random numbers from a distribution is desired |
n |
numeric scalar specifying quantity of random numbers |
... |
additional arguments affecting the random numbers produced |
Value
The form of the value returned by rand
depends on the
class of its argument. See the documentation of the particular methods
for details of what is produced by that method.
Author(s)
Kevin R. Coombes krc@silicovore.com,
[Package Umpire version 2.0.10 Index]