e22-rand-method: Method "rand"

Description Usage Arguments Value Author(s)

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

1
2
## 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,


Umpire documentation built on Oct. 20, 2020, 3:01 a.m.