randfn {mreg}R Documentation

wrapper to generate random samples from a density function given by a character string as an argument

Description

wrapper to generate random samples from a density function given by a character string as an argument

Usage

randfn(n, family, ...)

Arguments

n

the number of samples to generate

family

the name of the density function, character string

...

other named arguments to feed into the density function

Value

the vector of samples


[Package mreg version 1.2.1 Index]