Learn R Programming

convdistr (version 1.6.1)

rfunc: Generate random numbers from a DISTRIBUTION object

Description

This is a generic method that calls the rfunc slot of the object

Usage

rfunc(x, n)

Value

a matrix with as many rows as n and as many columns as dimensions have distribution

Arguments

x

an object

n

the number of random samples

Author

John J. Aponte