rfunc: Generate random numbers from a 'DISTRIBUTION' object

View source: R/methods.R

rfuncR Documentation

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)

Arguments

x

an object

n

the number of random samples

Value

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

Author(s)

John J. Aponte


convdistr documentation built on May 29, 2024, 11:49 a.m.