get.random.generator.function: Get a function that generates random samples form the...

get.random.generator.functionR Documentation

Get a function that generates random samples form the distribution

Description

A convenience function that packages up a call to generate.random.samples on this distribution into its own stand-alone function (which could be passed along as an argument to other functions)

Usage

get.random.generator.function(dist)

Arguments

dist

An object of class Distribution or a subclass

Value

A function that takes one argument, 'n' - the number of random samples to generate


tfojo1/distributions documentation built on July 27, 2024, 3:29 p.m.